#B286CC#B286CC
#B286CC is a light, moderate violet. Relative luminance 0.309; OKLCH L 68.8% C 0.111 H 312.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B286CC |
|---|---|
| RGB | rgb(178, 134, 204) |
| HSL | hsl(278, 41%, 66%) |
| HSV | hsv(278, 34%, 80%) |
| CMYK | cmyk(12.7%, 34.3%, 0%, 20%) |
| CIE-LAB | lab(62.40, 29.70, -29.77) |
| CIE-LCH | lch(62.40, 42.05, 314.93°) |
| OKLab | oklab(68.77% 0.0747 -0.0818) |
| OKLCH | oklch(68.77% 0.111 312.4) |
| XYZ | xyz(37.7824, 30.8754, 61.0842) |
| Luminance | 0.3088 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.85
Wisteria
#A87DC2
ΔE00 3.08
Orchid (survey)
#C875C4
ΔE00 7.00
Lavender
#B39DDB
ΔE00 7.02
Soft Purple
#A66FB5
ΔE00 7.19
Heather
#A484AC
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B286CC #A0CC86
analogous
#8F86CC #B286CC #CC86C3
triadic
#B286CC #CCB286 #86CCB2
tetradic
#B286CC #CC8F86 #A0CC86 #86C3CC
square
#B286CC #CC8F86 #A0CC86 #86C3CC
split-complementary
#B286CC #C3CC86 #86CC8F
monochromatic
#774098 #975BBA #B286CC #CDB1DE #E9DCF0
Accessibility & contrast
On white
2.93
#B286CC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#B286CC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B286CC
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B286CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B286CC | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A94CF
Deuteranopia (green-blind)
#8498CA
Tritanopia (blue-blind)
#B08FA0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b286cc; /* rgb */ color: rgb(178, 134, 204); /* oklch */ color: oklch(68.8% 0.111 312.4);
Tailwind
colors: {
custom: {
50: '#caa9db',
500: '#b286cc',
950: '#000000',
},
}SCSS
$custom: #b286cc; $custom-light: #caa9db; $custom-dark: #000000;
JSON
{
"hex": "#b286cc",
"rgb": {
"r": 178,
"g": 134,
"b": 204
},
"hsl": {
"h": 277.714,
"s": 40.698,
"l": 66.275
},
"oklch": {
"l": 0.68769,
"c": 0.11078,
"h": 312.4
},
"luminance": 0.30875
}Semantic roles & 50–950 ramp
primary
#B286CC
secondary
#D4E2CB
accent
#B43262
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83