#B17EC2#B17EC2
#B17EC2 is a light, moderate purple. Relative luminance 0.282; OKLCH L 66.8% C 0.113 H 317.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B17EC2 |
|---|---|
| RGB | rgb(177, 126, 194) |
| HSL | hsl(285, 36%, 63%) |
| HSV | hsv(285, 35%, 76%) |
| CMYK | cmyk(8.8%, 35.1%, 0%, 23.9%) |
| CIE-LAB | lab(60.04, 31.75, -27.80) |
| CIE-LCH | lch(60.04, 42.20, 318.80°) |
| OKLab | oklab(66.82% 0.083 -0.0762) |
| OKLCH | oklch(66.82% 0.113 317.5) |
| XYZ | xyz(35.3285, 28.1647, 54.6038) |
| Luminance | 0.2816 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.13
Soft Purple
#A66FB5
ΔE00 4.79
Orchid (survey)
#C875C4
ΔE00 5.29
Pale Purple
#B790D4
ΔE00 5.42
Heather
#A484AC
ΔE00 6.67
Dark Lilac
#9C6DA5
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17EC2 #8FC27E
analogous
#8F7EC2 #B17EC2 #C27EB1
triadic
#B17EC2 #C2B17E #7EC2B1
tetradic
#B17EC2 #C28F7E #8FC27E #7EB1C2
square
#B17EC2 #C28F7E #8FC27E #7EB1C2
split-complementary
#B17EC2 #B1C27E #7EC28F
monochromatic
#743F86 #9854AE #B17EC2 #CAA8D6 #E3D1E9
Accessibility & contrast
On white
3.17
#B17EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#B17EC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B17EC2
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17EC2 | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#748DC5
Deuteranopia (green-blind)
#8192C0
Tritanopia (blue-blind)
#B18697
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b17ec2; /* rgb */ color: rgb(177, 126, 194); /* oklch */ color: oklch(66.8% 0.113 317.5);
Tailwind
colors: {
custom: {
50: '#c9a4d4',
500: '#b17ec2',
950: '#000000',
},
}SCSS
$custom: #b17ec2; $custom-light: #c9a4d4; $custom-dark: #000000;
JSON
{
"hex": "#b17ec2",
"rgb": {
"r": 177,
"g": 126,
"b": 194
},
"hsl": {
"h": 285,
"s": 35.789,
"l": 62.745
},
"oklch": {
"l": 0.66817,
"c": 0.11264,
"h": 317.5
},
"luminance": 0.28164
}Semantic roles & 50–950 ramp
primary
#B17EC2
secondary
#C8DAC2
accent
#AF3755
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83