#B286E4#B286E4
#B286E4 is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.9% C 0.141 H 304.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B286E4 |
|---|---|
| RGB | rgb(178, 134, 228) |
| HSL | hsl(268, 64%, 71%) |
| HSV | hsv(268, 41%, 89%) |
| CMYK | cmyk(21.9%, 41.2%, 0%, 10.6%) |
| CIE-LAB | lab(63.44, 35.03, -41.55) |
| CIE-LCH | lch(63.44, 54.35, 310.13°) |
| OKLab | oklab(69.89% 0.0798 -0.1157) |
| OKLCH | oklch(69.89% 0.141 304.6) |
| XYZ | xyz(40.8859, 32.1168, 77.4290) |
| Luminance | 0.3212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.53
Light Purple
#BF77F6
ΔE00 5.25
Pale Purple
#B790D4
ΔE00 5.29
Wisteria
#A87DC2
ΔE00 6.30
Baby Purple
#CA9BF7
ΔE00 6.39
Light Urple
#B36FF6
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B286E4 #B8E486
analogous
#8689E4 #B286E4 #E186E4
triadic
#B286E4 #E4B286 #86E4B2
tetradic
#B286E4 #E48689 #B8E486 #86E4E1
square
#B286E4 #E48689 #B8E486 #86E4E1
split-complementary
#B286E4 #E4E186 #89E486
monochromatic
#732CC4 #9254D9 #B286E4 #D2B8EF #EFE6F9
Accessibility & contrast
On white
2.83
#B286E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#B286E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B286E4
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B286E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B286E4 | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F98E7
Deuteranopia (green-blind)
#799AE1
Tritanopia (blue-blind)
#AA95AA
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b286e4; /* rgb */ color: rgb(178, 134, 228); /* oklch */ color: oklch(69.9% 0.141 304.6);
Tailwind
colors: {
custom: {
50: '#cbaaed',
500: '#b286e4',
950: '#000000',
},
}SCSS
$custom: #b286e4; $custom-light: #cbaaed; $custom-dark: #000000;
JSON
{
"hex": "#b286e4",
"rgb": {
"r": 178,
"g": 134,
"b": 228
},
"hsl": {
"h": 268.085,
"s": 63.514,
"l": 70.98
},
"oklch": {
"l": 0.69894,
"c": 0.14051,
"h": 304.6
},
"luminance": 0.32117
}Semantic roles & 50–950 ramp
primary
#B286E4
secondary
#E4EFD6
accent
#CB1A78
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84