#B386CC#B386CC
#B386CC is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.9% C 0.111 H 313.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B386CC |
|---|---|
| RGB | rgb(179, 134, 204) |
| HSL | hsl(279, 41%, 66%) |
| HSV | hsv(279, 34%, 80%) |
| CMYK | cmyk(12.3%, 34.3%, 0%, 20%) |
| CIE-LAB | lab(62.50, 30.01, -29.61) |
| CIE-LCH | lch(62.50, 42.16, 315.38°) |
| OKLab | oklab(68.87% 0.0758 -0.0813) |
| OKLCH | oklch(68.87% 0.111 313) |
| XYZ | xyz(38.0128, 30.9942, 61.0950) |
| Luminance | 0.3099 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.85
Wisteria
#A87DC2
ΔE00 3.18
Orchid (survey)
#C875C4
ΔE00 6.82
Lavender
#B39DDB
ΔE00 7.10
Soft Purple
#A66FB5
ΔE00 7.20
Heather
#A484AC
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B386CC #9FCC86
analogous
#9086CC #B386CC #CC86C2
triadic
#B386CC #CCB386 #86CCB3
tetradic
#B386CC #CC9086 #9FCC86 #86C2CC
square
#B386CC #CC9086 #9FCC86 #86C2CC
split-complementary
#B386CC #C2CC86 #86CC90
monochromatic
#784098 #985BBA #B386CC #CEB1DE #E9DCF0
Accessibility & contrast
On white
2.92
#B386CC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#B386CC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B386CC
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B386CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B386CC | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A95CF
Deuteranopia (green-blind)
#8598CA
Tritanopia (blue-blind)
#B18FA0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b386cc; /* rgb */ color: rgb(179, 134, 204); /* oklch */ color: oklch(68.9% 0.111 313.0);
Tailwind
colors: {
custom: {
50: '#caaadb',
500: '#b386cc',
950: '#000000',
},
}SCSS
$custom: #b386cc; $custom-light: #caaadb; $custom-dark: #000000;
JSON
{
"hex": "#b386cc",
"rgb": {
"r": 179,
"g": 134,
"b": 204
},
"hsl": {
"h": 278.571,
"s": 40.698,
"l": 66.275
},
"oklch": {
"l": 0.68868,
"c": 0.11122,
"h": 313
},
"luminance": 0.30994
}Semantic roles & 50–950 ramp
primary
#B386CC
secondary
#D4E2CB
accent
#B43260
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83