#B186CE#B186CE
#B186CE is a light, moderate violet. Relative luminance 0.309; OKLCH L 68.8% C 0.113 H 311.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B186CE |
|---|---|
| RGB | rgb(177, 134, 206) |
| HSL | hsl(276, 42%, 67%) |
| HSV | hsv(276, 35%, 81%) |
| CMYK | cmyk(14.1%, 35%, 0%, 19.2%) |
| CIE-LAB | lab(62.38, 29.82, -30.93) |
| CIE-LCH | lch(62.38, 42.96, 313.95°) |
| OKLab | oklab(68.76% 0.074 -0.0851) |
| OKLCH | oklch(68.76% 0.113 311) |
| XYZ | xyz(37.7952, 30.8541, 62.3449) |
| Luminance | 0.3085 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.85
Wisteria
#A87DC2
ΔE00 3.12
Lavender
#B39DDB
ΔE00 6.88
Soft Purple
#A66FB5
ΔE00 7.34
Orchid (survey)
#C875C4
ΔE00 7.35
Lavender (survey)
#C79FEF
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B186CE #A3CE86
analogous
#8D86CE #B186CE #CE86C7
triadic
#B186CE #CEB186 #86CEB1
tetradic
#B186CE #CE8D86 #A3CE86 #86C7CE
square
#B186CE #CE8D86 #A3CE86 #86C7CE
split-complementary
#B186CE #C7CE86 #86CE8D
monochromatic
#763F9B #955ABC #B186CE #CDB2E0 #E9DDF1
Accessibility & contrast
On white
2.93
#B186CE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#B186CE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B186CE
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B186CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B186CE | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7995D1
Deuteranopia (green-blind)
#8398CC
Tritanopia (blue-blind)
#AE90A1
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b186ce; /* rgb */ color: rgb(177, 134, 206); /* oklch */ color: oklch(68.8% 0.113 311.0);
Tailwind
colors: {
custom: {
50: '#c9a9dd',
500: '#b186ce',
950: '#000000',
},
}SCSS
$custom: #b186ce; $custom-light: #c9a9dd; $custom-dark: #000000;
JSON
{
"hex": "#b186ce",
"rgb": {
"r": 177,
"g": 134,
"b": 206
},
"hsl": {
"h": 275.833,
"s": 42.353,
"l": 66.667
},
"oklch": {
"l": 0.68759,
"c": 0.1128,
"h": 311
},
"luminance": 0.30854
}Semantic roles & 50–950 ramp
primary
#B186CE
secondary
#D6E3CC
accent
#B53066
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83