#B286CD#B286CD
#B286CD is a light, moderate violet. Relative luminance 0.309; OKLCH L 68.8% C 0.112 H 312.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B286CD |
|---|---|
| RGB | rgb(178, 134, 205) |
| HSL | hsl(277, 42%, 66%) |
| HSV | hsv(277, 35%, 80%) |
| CMYK | cmyk(13.2%, 34.6%, 0%, 19.6%) |
| CIE-LAB | lab(62.44, 29.91, -30.27) |
| CIE-LCH | lch(62.44, 42.56, 314.66°) |
| OKLab | oklab(68.81% 0.0749 -0.0832) |
| OKLCH | oklch(68.81% 0.112 312) |
| XYZ | xyz(37.9028, 30.9235, 61.7179) |
| Luminance | 0.3092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.83
Wisteria
#A87DC2
ΔE00 3.13
Lavender
#B39DDB
ΔE00 6.98
Orchid (survey)
#C875C4
ΔE00 7.08
Soft Purple
#A66FB5
ΔE00 7.26
Heather
#A484AC
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B286CD #A1CD86
analogous
#8F86CD #B286CD #CD86C5
triadic
#B286CD #CDB286 #86CDB2
tetradic
#B286CD #CD8F86 #A1CD86 #86C5CD
square
#B286CD #CD8F86 #A1CD86 #86C5CD
split-complementary
#B286CD #C5CD86 #86CD8F
monochromatic
#773F99 #965BBB #B286CD #CEB1DF #E9DDF1
Accessibility & contrast
On white
2.92
#B286CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#B286CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B286CD
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B286CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B286CD | 1.00 | 2.92 | 7.18 | 7.18 |
| #FFFFFF | 2.92 | 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)
#7A95D0
Deuteranopia (green-blind)
#8498CB
Tritanopia (blue-blind)
#B090A0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b286cd; /* rgb */ color: rgb(178, 134, 205); /* oklch */ color: oklch(68.8% 0.112 312.0);
Tailwind
colors: {
custom: {
50: '#caa9dc',
500: '#b286cd',
950: '#000000',
},
}SCSS
$custom: #b286cd; $custom-light: #caa9dc; $custom-dark: #000000;
JSON
{
"hex": "#b286cd",
"rgb": {
"r": 178,
"g": 134,
"b": 205
},
"hsl": {
"h": 277.183,
"s": 41.52,
"l": 66.471
},
"oklch": {
"l": 0.68813,
"c": 0.11199,
"h": 312
},
"luminance": 0.30923
}Semantic roles & 50–950 ramp
primary
#B286CD
secondary
#D5E3CC
accent
#B53163
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83