#B96CF2#B96CF2
#B96CF2 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.3% C 0.200 H 308.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B96CF2 |
|---|---|
| RGB | rgb(185, 108, 242) |
| HSL | hsl(274, 84%, 69%) |
| HSV | hsv(274, 55%, 95%) |
| CMYK | cmyk(23.6%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(59.39, 54.04, -55.68) |
| CIE-LCH | lch(59.39, 77.60, 314.14°) |
| OKLab | oklab(67.28% 0.1245 -0.1565) |
| OKLCH | oklch(67.28% 0.2 308.5) |
| XYZ | xyz(41.3940, 27.4508, 87.1051) |
| Luminance | 0.2745 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.53
Easter Purple
#C071FE
ΔE00 2.25
Light Purple
#BF77F6
ΔE00 2.82
Bright Lavender
#C760FF
ΔE00 3.13
Bright Lilac
#C95EFB
ΔE00 3.40
Lighter Purple
#A55AF4
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B96CF2 #A5F26C
analogous
#766CF2 #B96CF2 #F26CE8
triadic
#B96CF2 #F2B96C #6CF2B9
tetradic
#B96CF2 #F2766C #A5F26C #6CE8F2
square
#B96CF2 #F2766C #A5F26C #6CE8F2
split-complementary
#B96CF2 #E8F26C #6CF276
monochromatic
#8012D1 #9E34ED #B96CF2 #D4A4F7 #EFDCFC
Accessibility & contrast
On white
3.24
#B96CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#B96CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B96CF2
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B96CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B96CF2 | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#B184A5
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b96cf2; /* rgb */ color: rgb(185, 108, 242); /* oklch */ color: oklch(67.3% 0.200 308.5);
Tailwind
colors: {
custom: {
50: '#d199f7',
500: '#b96cf2',
950: '#000000',
},
}SCSS
$custom: #b96cf2; $custom-light: #d199f7; $custom-dark: #000000;
JSON
{
"hex": "#b96cf2",
"rgb": {
"r": 185,
"g": 108,
"b": 242
},
"hsl": {
"h": 274.478,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.67276,
"c": 0.19998,
"h": 308.5
},
"luminance": 0.2745
}Semantic roles & 50–950 ramp
primary
#B96CF2
secondary
#DAF1C9
accent
#E00562
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85