#B17CD2#B17CD2
#B17CD2 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.2% C 0.135 H 311.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B17CD2 |
|---|---|
| RGB | rgb(177, 124, 210) |
| HSL | hsl(277, 49%, 65%) |
| HSV | hsv(277, 41%, 82%) |
| CMYK | cmyk(15.7%, 41%, 0%, 17.6%) |
| CIE-LAB | lab(60.26, 36.26, -36.48) |
| CIE-LCH | lch(60.26, 51.44, 314.83°) |
| OKLab | oklab(67.21% 0.0894 -0.101) |
| OKLCH | oklch(67.21% 0.135 311.5) |
| XYZ | xyz(36.9699, 28.4162, 64.4976) |
| Luminance | 0.2842 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.34
Pale Purple
#B790D4
ΔE00 5.83
Soft Purple
#A66FB5
ΔE00 6.06
Light Purple
#BF77F6
ΔE00 6.15
Orchid (survey)
#C875C4
ΔE00 6.60
Deep Lilac
#966EBD
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17CD2 #9DD27C
analogous
#867CD2 #B17CD2 #D27CC8
triadic
#B17CD2 #D2B17C #7CD2B1
tetradic
#B17CD2 #D2867C #9DD27C #7CC8D2
square
#B17CD2 #D2867C #9DD27C #7CC8D2
split-complementary
#B17CD2 #C8D27C #7CD286
monochromatic
#76369D #964EC2 #B17CD2 #CCAAE2 #E7D7F1
Accessibility & contrast
On white
3.14
#B17CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#B17CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B17CD2
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17CD2 | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B8FD5
Deuteranopia (green-blind)
#7892D0
Tritanopia (blue-blind)
#AE899D
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b17cd2; /* rgb */ color: rgb(177, 124, 210); /* oklch */ color: oklch(67.2% 0.135 311.5);
Tailwind
colors: {
custom: {
50: '#caa3e0',
500: '#b17cd2',
950: '#000000',
},
}SCSS
$custom: #b17cd2; $custom-light: #caa3e0; $custom-dark: #000000;
JSON
{
"hex": "#b17cd2",
"rgb": {
"r": 177,
"g": 124,
"b": 210
},
"hsl": {
"h": 276.977,
"s": 48.864,
"l": 65.49
},
"oklch": {
"l": 0.67211,
"c": 0.13491,
"h": 311.5
},
"luminance": 0.28416
}Semantic roles & 50–950 ramp
primary
#B17CD2
secondary
#D2E3C6
accent
#BC2962
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83