#B962F5#B962F5
#B962F5 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.1% C 0.218 H 308.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B962F5 |
|---|---|
| RGB | rgb(185, 98, 245) |
| HSL | hsl(276, 88%, 67%) |
| HSV | hsv(276, 60%, 96%) |
| CMYK | cmyk(24.5%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(57.70, 59.68, -60.05) |
| CIE-LCH | lch(57.70, 84.67, 314.82°) |
| OKLab | oklab(66.09% 0.1367 -0.1693) |
| OKLCH | oklch(66.09% 0.218 308.9) |
| XYZ | xyz(40.8534, 25.6429, 89.1659) |
| Luminance | 0.2564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 2.43
Bright Lilac
#C95EFB
ΔE00 2.62
Light Urple
#B36FF6
ΔE00 2.92
Easter Purple
#C071FE
ΔE00 3.78
Lighter Purple
#A55AF4
ΔE00 4.31
Light Purple
#BF77F6
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B962F5 #9EF562
analogous
#6F62F5 #B962F5 #F562E8
triadic
#B962F5 #F5B962 #62F5B9
tetradic
#B962F5 #F56F62 #9EF562 #62E8F5
square
#B962F5 #F56F62 #9EF562 #62E8F5
split-complementary
#B962F5 #E8F562 #62F56F
monochromatic
#800DCF #9F28F1 #B962F5 #D39CF9 #ECD5FC
Accessibility & contrast
On white
3.43
#B962F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#B962F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B962F5
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B962F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B962F5 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2187FA
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#B07EA3
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b962f5; /* rgb */ color: rgb(185, 98, 245); /* oklch */ color: oklch(66.1% 0.218 308.9);
Tailwind
colors: {
custom: {
50: '#d293f9',
500: '#b962f5',
950: '#000000',
},
}SCSS
$custom: #b962f5; $custom-light: #d293f9; $custom-dark: #000000;
JSON
{
"hex": "#b962f5",
"rgb": {
"r": 185,
"g": 98,
"b": 245
},
"hsl": {
"h": 275.51,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.66094,
"c": 0.21759,
"h": 308.9
},
"luminance": 0.25642
}Semantic roles & 50–950 ramp
primary
#B962F5
secondary
#D5F1C2
accent
#E5015E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85