#B17FC2#B17FC2
#B17FC2 is a light, moderate purple. Relative luminance 0.284; OKLCH L 67.0% C 0.111 H 317.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B17FC2 |
|---|---|
| RGB | rgb(177, 127, 194) |
| HSL | hsl(285, 35%, 63%) |
| HSV | hsv(285, 35%, 76%) |
| CMYK | cmyk(8.8%, 34.5%, 0%, 23.9%) |
| CIE-LAB | lab(60.27, 31.19, -27.44) |
| CIE-LCH | lch(60.27, 41.55, 318.66°) |
| OKLab | oklab(66.99% 0.0815 -0.0752) |
| OKLCH | oklch(66.99% 0.111 317.3) |
| XYZ | xyz(35.4570, 28.4217, 54.6466) |
| Luminance | 0.2842 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.19
Soft Purple
#A66FB5
ΔE00 5.03
Pale Purple
#B790D4
ΔE00 5.19
Orchid (survey)
#C875C4
ΔE00 5.44
Heather
#A484AC
ΔE00 6.48
Dark Lilac
#9C6DA5
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17FC2 #90C27F
analogous
#8F7FC2 #B17FC2 #C27FB1
triadic
#B17FC2 #C2B17F #7FC2B1
tetradic
#B17FC2 #C28F7F #90C27F #7FB1C2
square
#B17FC2 #C28F7F #90C27F #7FB1C2
split-complementary
#B17FC2 #B1C27F #7FC28F
monochromatic
#754087 #9856AE #B17FC2 #CAA8D6 #E4D2EA
Accessibility & contrast
On white
3.14
#B17FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#B17FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B17FC2
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17FC2 | 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)
#768EC5
Deuteranopia (green-blind)
#8193C0
Tritanopia (blue-blind)
#B18798
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b17fc2; /* rgb */ color: rgb(177, 127, 194); /* oklch */ color: oklch(67.0% 0.111 317.3);
Tailwind
colors: {
custom: {
50: '#c9a5d4',
500: '#b17fc2',
950: '#000000',
},
}SCSS
$custom: #b17fc2; $custom-light: #c9a5d4; $custom-dark: #000000;
JSON
{
"hex": "#b17fc2",
"rgb": {
"r": 177,
"g": 127,
"b": 194
},
"hsl": {
"h": 284.776,
"s": 35.45,
"l": 62.941
},
"oklch": {
"l": 0.66992,
"c": 0.11085,
"h": 317.3
},
"luminance": 0.28421
}Semantic roles & 50–950 ramp
primary
#B17FC2
secondary
#C8DAC2
accent
#AE3755
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83