#B662F2#B662F2
#B662F2 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.214 H 308.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B662F2 |
|---|---|
| RGB | rgb(182, 98, 242) |
| HSL | hsl(275, 85%, 67%) |
| HSV | hsv(275, 60%, 95%) |
| CMYK | cmyk(24.8%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(57.16, 58.34, -59.26) |
| CIE-LCH | lch(57.16, 83.15, 314.55°) |
| OKLab | oklab(65.57% 0.133 -0.167) |
| OKLCH | oklch(65.57% 0.214 308.5) |
| XYZ | xyz(39.6829, 25.0919, 86.7399) |
| Luminance | 0.2509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.99
Bright Lavender
#C760FF
ΔE00 3.02
Bright Lilac
#C95EFB
ΔE00 3.16
Lighter Purple
#A55AF4
ΔE00 3.90
Easter Purple
#C071FE
ΔE00 4.18
Light Purple
#BF77F6
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B662F2 #9EF262
analogous
#6E62F2 #B662F2 #F262E6
triadic
#B662F2 #F2B662 #62F2B6
tetradic
#B662F2 #F26E62 #9EF262 #62E6F2
square
#B662F2 #F26E62 #9EF262 #62E6F2
split-complementary
#B662F2 #E6F262 #62F26E
monochromatic
#7C11C9 #9C29ED #B662F2 #D09BF7 #EBD3FB
Accessibility & contrast
On white
3.49
#B662F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#B662F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B662F2
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B662F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B662F2 | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2486F7
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#AD7EA1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b662f2; /* rgb */ color: rgb(182, 98, 242); /* oklch */ color: oklch(65.6% 0.214 308.5);
Tailwind
colors: {
custom: {
50: '#d093f7',
500: '#b662f2',
950: '#000000',
},
}SCSS
$custom: #b662f2; $custom-light: #d093f7; $custom-dark: #000000;
JSON
{
"hex": "#b662f2",
"rgb": {
"r": 182,
"g": 98,
"b": 242
},
"hsl": {
"h": 275,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.65573,
"c": 0.21353,
"h": 308.5
},
"luminance": 0.25091
}Semantic roles & 50–950 ramp
primary
#B662F2
secondary
#D4EFC1
accent
#E10460
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85