#B286F2#B286F2
#B286F2 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.6% C 0.158 H 301.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B286F2 |
|---|---|
| RGB | rgb(178, 134, 242) |
| HSL | hsl(264, 81%, 74%) |
| HSV | hsv(264, 45%, 95%) |
| CMYK | cmyk(26.4%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(64.10, 38.30, -48.25) |
| CIE-LCH | lch(64.10, 61.60, 308.44°) |
| OKLab | oklab(70.61% 0.082 -0.1351) |
| OKLCH | oklch(70.61% 0.158 301.3) |
| XYZ | xyz(42.9086, 32.9259, 88.0820) |
| Luminance | 0.3293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.66
Light Purple
#BF77F6
ΔE00 4.54
Easter Purple
#C071FE
ΔE00 5.81
Light Urple
#B36FF6
ΔE00 5.81
Baby Purple
#CA9BF7
ΔE00 6.66
Pastel Purple
#CAA0FF
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B286F2 #C6F286
analogous
#8690F2 #B286F2 #E886F2
triadic
#B286F2 #F2B286 #86F2B2
tetradic
#B286F2 #F28690 #C6F286 #86F2E8
square
#B286F2 #F28690 #C6F286 #86F2E8
split-complementary
#B286F2 #F2E886 #90F286
monochromatic
#6C19E5 #8F4FEC #B286F2 #D5BDF8 #EDE3FC
Accessibility & contrast
On white
2.77
#B286F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#B286F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B286F2
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B286F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B286F2 | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#719BEF
Tritanopia (blue-blind)
#A699B0
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b286f2; /* rgb */ color: rgb(178, 134, 242); /* oklch */ color: oklch(70.6% 0.158 301.3);
Tailwind
colors: {
custom: {
50: '#cbaaf7',
500: '#b286f2',
950: '#000000',
},
}SCSS
$custom: #b286f2; $custom-light: #cbaaf7; $custom-dark: #000000;
JSON
{
"hex": "#b286f2",
"rgb": {
"r": 178,
"g": 134,
"b": 242
},
"hsl": {
"h": 264.444,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.70609,
"c": 0.15805,
"h": 301.3
},
"luminance": 0.32926
}Semantic roles & 50–950 ramp
primary
#B286F2
secondary
#E8F4D7
accent
#DD0986
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85