#652EC6

#652ec6 ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#652ec6 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.61% red, 18.04% green and 77.65% blue; printed in CMYK it uses 48.99% cyan, 76.77% magenta, 0% yellow and 22.35% black. Its hue angle is 261.71°, with 62.3% saturation and 47.84% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 7.61:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 6.13.

Description generated from the measured properties of this color.

Conversions of #652ec6 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.088

Readable text 7.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #5b4790 ≈ 0.001% of males
Protanopia #0056ca ≈ 1.01% of males
Deuteranopia #0051c3 ≈ 1.27% of males
Tritanopia #455879 ≈ 0.0001% of males
Protanomaly #1c49c9 ≈ 1.08% of males
Deuteranomaly #2445c4 ≈ 4.63% of males
Tritanomaly #544b9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-652ec6 {
  color: #652ec6;
}
Background
.bg-652ec6 {
  background-color: #652ec6;
  color: #ffffff;
}
Border
.border-652ec6 {
  border: 2px solid #652ec6;
}
CSS variables
:root {
  --color-primary: #652ec6;
  --color-primary-rgb: 101 46 198;
  --color-primary-hsl: 262 62% 48%;
}
Gradient
.gradient-652ec6 {
  background: linear-gradient(135deg, #652ec6, #b12ec6);
}
Colored shadow
.shadow-652ec6 {
  box-shadow: 0 8px 24px rgb(101 46 198 / 0.35);
}

Ocean Blue
#652ec6  rgb(101, 46, 198)  hsl(262, 62%, 48%)  Ocean Blue
#8fc62e  rgb(143, 198, 46)  hsl(82, 62%, 48%)  Yellow Green
#c6652e  rgb(198, 101, 46)  hsl(22, 62%, 48%)  Chocolate
#2ec665  rgb(46, 198, 101)  hsl(142, 62%, 48%)  Emerald