#B662EF#B662EF
#B662EF is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.4% C 0.210 H 309.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B662EF |
|---|---|
| RGB | rgb(182, 98, 239) |
| HSL | hsl(276, 82%, 66%) |
| HSV | hsv(276, 59%, 94%) |
| CMYK | cmyk(23.8%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(56.99, 57.68, -57.86) |
| CIE-LCH | lch(56.99, 81.70, 314.91°) |
| OKLab | oklab(65.39% 0.133 -0.163) |
| OKLCH | oklch(65.39% 0.21 309.2) |
| XYZ | xyz(39.2360, 24.9131, 84.3864) |
| Luminance | 0.2491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.16
Bright Lavender
#C760FF
ΔE00 3.19
Bright Lilac
#C95EFB
ΔE00 3.23
Lighter Purple
#A55AF4
ΔE00 4.02
Easter Purple
#C071FE
ΔE00 4.35
Light Purple
#BF77F6
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B662EF #9BEF62
analogous
#6F62EF #B662EF #EF62E1
triadic
#B662EF #EFB662 #62EFB6
tetradic
#B662EF #EF6F62 #9BEF62 #62E1EF
square
#B662EF #EF6F62 #9BEF62 #62E1EF
split-complementary
#B662EF #E1EF62 #62EF6F
monochromatic
#7C14C3 #9C2AE9 #B662EF #D09AF5 #EAD1FA
Accessibility & contrast
On white
3.51
#B662EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#B662EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B662EF
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B662EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B662EF | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A85F3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#AE7D9F
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b662ef; /* rgb */ color: rgb(182, 98, 239); /* oklch */ color: oklch(65.4% 0.210 309.2);
Tailwind
colors: {
custom: {
50: '#cf92f5',
500: '#b662ef',
950: '#000000',
},
}SCSS
$custom: #b662ef; $custom-light: #cf92f5; $custom-dark: #000000;
JSON
{
"hex": "#b662ef",
"rgb": {
"r": 182,
"g": 98,
"b": 239
},
"hsl": {
"h": 275.745,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.65391,
"c": 0.21037,
"h": 309.2
},
"luminance": 0.24912
}Semantic roles & 50–950 ramp
primary
#B662EF
secondary
#D2EEBF
accent
#DE085E
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85