#B186CA#B186CA
#B186CA is a light, moderate violet. Relative luminance 0.307; OKLCH L 68.6% C 0.108 H 312.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B186CA |
|---|---|
| RGB | rgb(177, 134, 202) |
| HSL | hsl(278, 39%, 66%) |
| HSV | hsv(278, 34%, 79%) |
| CMYK | cmyk(12.4%, 33.7%, 0%, 20.8%) |
| CIE-LAB | lab(62.22, 28.96, -28.94) |
| CIE-LCH | lch(62.22, 40.94, 315.02°) |
| OKLab | oklab(68.58% 0.073 -0.0795) |
| OKLCH | oklch(68.58% 0.108 312.6) |
| XYZ | xyz(37.3154, 30.6622, 59.8183) |
| Luminance | 0.3066 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.94
Pale Purple
#B790D4
ΔE00 2.95
Heather
#A484AC
ΔE00 6.99
Lavender
#B39DDB
ΔE00 7.04
Orchid (survey)
#C875C4
ΔE00 7.07
Soft Purple
#A66FB5
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B186CA #9FCA86
analogous
#8F86CA #B186CA #CA86C1
triadic
#B186CA #CAB186 #86CAB1
tetradic
#B186CA #CA8F86 #9FCA86 #86C1CA
square
#B186CA #CA8F86 #9FCA86 #86C1CA
split-complementary
#B186CA #C1CA86 #86CA8F
monochromatic
#764195 #965BB7 #B186CA #CCB1DD #E8DBEF
Accessibility & contrast
On white
2.94
#B186CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B186CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B186CA
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B186CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B186CA | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B94CD
Deuteranopia (green-blind)
#8497C8
Tritanopia (blue-blind)
#AF8F9F
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b186ca; /* rgb */ color: rgb(177, 134, 202); /* oklch */ color: oklch(68.6% 0.108 312.6);
Tailwind
colors: {
custom: {
50: '#c9a9da',
500: '#b186ca',
950: '#000000',
},
}SCSS
$custom: #b186ca; $custom-light: #c9a9da; $custom-dark: #000000;
JSON
{
"hex": "#b186ca",
"rgb": {
"r": 177,
"g": 134,
"b": 202
},
"hsl": {
"h": 277.941,
"s": 39.08,
"l": 65.882
},
"oklch": {
"l": 0.68582,
"c": 0.1079,
"h": 312.6
},
"luminance": 0.30662
}Semantic roles & 50–950 ramp
primary
#B186CA
secondary
#D3E1CB
accent
#B23362
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83