#B170CC#B170CC
#B170CC is a light, vivid purple. Relative luminance 0.253; OKLCH L 64.9% C 0.148 H 315.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B170CC |
|---|---|
| RGB | rgb(177, 112, 204) |
| HSL | hsl(282, 47%, 62%) |
| HSV | hsv(282, 45%, 80%) |
| CMYK | cmyk(13.2%, 45.1%, 0%, 20%) |
| CIE-LAB | lab(57.36, 41.56, -37.63) |
| CIE-LCH | lch(57.36, 56.06, 317.84°) |
| OKLab | oklab(64.95% 0.1056 -0.1042) |
| OKLCH | oklch(64.95% 0.148 315.4) |
| XYZ | xyz(34.8230, 25.2960, 60.1632) |
| Luminance | 0.2530 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 4.47
Wisteria
#A87DC2
ΔE00 4.81
Deep Lilac
#966EBD
ΔE00 5.69
Orchid (survey)
#C875C4
ΔE00 6.08
Mediumorchid
#BA55D3
ΔE00 6.31
Amethyst
#9B5FC0
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B170CC #8BCC70
analogous
#8370CC #B170CC #CC70B9
triadic
#B170CC #CCB170 #70CCB1
tetradic
#B170CC #CC8370 #8BCC70 #70B9CC
square
#B170CC #CC8370 #8BCC70 #70B9CC
split-complementary
#B170CC #B9CC70 #70CC83
monochromatic
#74338F #9843BC #B170CC #CA9DDC #E2CAEC
Accessibility & contrast
On white
3.47
#B170CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#B170CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B170CC
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B170CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B170CC | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#708CC9
Tritanopia (blue-blind)
#B07D94
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b170cc; /* rgb */ color: rgb(177, 112, 204); /* oklch */ color: oklch(64.9% 0.148 315.4);
Tailwind
colors: {
custom: {
50: '#ca9bdc',
500: '#b170cc',
950: '#000000',
},
}SCSS
$custom: #b170cc; $custom-light: #ca9bdc; $custom-dark: #000000;
JSON
{
"hex": "#b170cc",
"rgb": {
"r": 177,
"g": 112,
"b": 204
},
"hsl": {
"h": 282.391,
"s": 47.423,
"l": 61.961
},
"oklch": {
"l": 0.64947,
"c": 0.14841,
"h": 315.4
},
"luminance": 0.25295
}Semantic roles & 50–950 ramp
primary
#B170CC
secondary
#C5DDBB
accent
#BB2B55
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83