#B662CE#B662CE
#B662CE is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.5% C 0.176 H 318.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B662CE |
|---|---|
| RGB | rgb(182, 98, 206) |
| HSL | hsl(287, 52%, 60%) |
| HSV | hsv(287, 52%, 81%) |
| CMYK | cmyk(11.7%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(55.21, 50.73, -42.10) |
| CIE-LCH | lch(55.21, 65.93, 320.31°) |
| OKLab | oklab(63.51% 0.1314 -0.117) |
| OKLCH | oklch(63.51% 0.176 318.3) |
| XYZ | xyz(34.7982, 23.1380, 61.0136) |
| Luminance | 0.2314 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.82
Amethyst
#9B5FC0
ΔE00 5.58
Pinkish Purple
#D648D7
ΔE00 5.97
Pinky Purple
#C94CBE
ΔE00 6.02
Soft Purple
#A66FB5
ΔE00 6.22
Bright Lilac
#C95EFB
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B662CE #7ACE62
analogous
#8062CE #B662CE #CE62B0
triadic
#B662CE #CEB662 #62CEB6
tetradic
#B662CE #CE8062 #7ACE62 #62B0CE
square
#B662CE #CE8062 #7ACE62 #62B0CE
split-complementary
#B662CE #B0CE62 #62CE80
monochromatic
#752B8A #9D3AB9 #B662CE #CC91DD #E1BFEB
Accessibility & contrast
On white
3.73
#B662CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#B662CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B662CE
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B662CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B662CE | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D7FD2
Deuteranopia (green-blind)
#6787CB
Tritanopia (blue-blind)
#B6728F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b662ce; /* rgb */ color: rgb(182, 98, 206); /* oklch */ color: oklch(63.5% 0.176 318.3);
Tailwind
colors: {
custom: {
50: '#ce92dd',
500: '#b662ce',
950: '#000000',
},
}SCSS
$custom: #b662ce; $custom-light: #ce92dd; $custom-dark: #000000;
JSON
{
"hex": "#b662ce",
"rgb": {
"r": 182,
"g": 98,
"b": 206
},
"hsl": {
"h": 286.667,
"s": 52.427,
"l": 59.608
},
"oklch": {
"l": 0.63514,
"c": 0.17594,
"h": 318.3
},
"luminance": 0.23137
}Semantic roles & 50–950 ramp
primary
#B662CE
secondary
#BADBB1
accent
#DC4C6C
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83