#B662CF#B662CF
#B662CF is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.6% C 0.177 H 318.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B662CF |
|---|---|
| RGB | rgb(182, 98, 207) |
| HSL | hsl(286, 53%, 60%) |
| HSV | hsv(286, 53%, 81%) |
| CMYK | cmyk(12.1%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(55.26, 50.94, -42.59) |
| CIE-LCH | lch(55.26, 66.40, 320.10°) |
| OKLab | oklab(63.57% 0.1315 -0.1184) |
| OKLCH | oklch(63.57% 0.177 318) |
| XYZ | xyz(34.9200, 23.1867, 61.6554) |
| Luminance | 0.2319 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.77
Amethyst
#9B5FC0
ΔE00 5.60
Pinkish Purple
#D648D7
ΔE00 5.98
Pinky Purple
#C94CBE
ΔE00 6.13
Soft Purple
#A66FB5
ΔE00 6.34
Bright Lilac
#C95EFB
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B662CF #7BCF62
analogous
#8062CF #B662CF #CF62B1
triadic
#B662CF #CFB662 #62CFB6
tetradic
#B662CF #CF8062 #7BCF62 #62B1CF
square
#B662CF #CF8062 #7BCF62 #62B1CF
split-complementary
#B662CF #B1CF62 #62CF80
monochromatic
#762B8C #9D39BB #B662CF #CC91DD #E2C0EC
Accessibility & contrast
On white
3.73
#B662CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#B662CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B662CF
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B662CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B662CF | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C7FD3
Deuteranopia (green-blind)
#6787CC
Tritanopia (blue-blind)
#B6728F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b662cf; /* rgb */ color: rgb(182, 98, 207); /* oklch */ color: oklch(63.6% 0.177 318.0);
Tailwind
colors: {
custom: {
50: '#ce92de',
500: '#b662cf',
950: '#000000',
},
}SCSS
$custom: #b662cf; $custom-light: #ce92de; $custom-dark: #000000;
JSON
{
"hex": "#b662cf",
"rgb": {
"r": 182,
"g": 98,
"b": 207
},
"hsl": {
"h": 286.239,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.63567,
"c": 0.17696,
"h": 318
},
"luminance": 0.23185
}Semantic roles & 50–950 ramp
primary
#B662CF
secondary
#BBDBB1
accent
#DD4B6D
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83