#B170CF#B170CF
#B170CF is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.1% C 0.152 H 314.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B170CF |
|---|---|
| RGB | rgb(177, 112, 207) |
| HSL | hsl(281, 50%, 63%) |
| HSV | hsv(281, 46%, 81%) |
| CMYK | cmyk(14.5%, 45.9%, 0%, 18.8%) |
| CIE-LAB | lab(57.50, 42.19, -39.11) |
| CIE-LCH | lch(57.50, 57.53, 317.17°) |
| OKLab | oklab(65.1% 0.1061 -0.1085) |
| OKLCH | oklch(65.1% 0.152 314.4) |
| XYZ | xyz(35.1863, 25.4413, 62.0765) |
| Luminance | 0.2544 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 4.98
Wisteria
#A87DC2
ΔE00 5.08
Deep Lilac
#966EBD
ΔE00 5.77
Mediumorchid
#BA55D3
ΔE00 6.21
Light Purple
#BF77F6
ΔE00 6.38
Light Urple
#B36FF6
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B170CF #8ECF70
analogous
#8270CF #B170CF #CF70BD
triadic
#B170CF #CFB170 #70CFB1
tetradic
#B170CF #CF8270 #8ECF70 #70BDCF
square
#B170CF #CF8270 #8ECF70 #70BDCF
split-complementary
#B170CF #BDCF70 #70CF82
monochromatic
#743193 #9842C0 #B170CF #CA9EDE #E3CCEE
Accessibility & contrast
On white
3.45
#B170CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#B170CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B170CF
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B170CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B170CF | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D86D2
Deuteranopia (green-blind)
#6F8CCC
Tritanopia (blue-blind)
#AF7E96
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b170cf; /* rgb */ color: rgb(177, 112, 207); /* oklch */ color: oklch(65.1% 0.152 314.4);
Tailwind
colors: {
custom: {
50: '#ca9bde',
500: '#b170cf',
950: '#000000',
},
}SCSS
$custom: #b170cf; $custom-light: #ca9bde; $custom-dark: #000000;
JSON
{
"hex": "#b170cf",
"rgb": {
"r": 177,
"g": 112,
"b": 207
},
"hsl": {
"h": 281.053,
"s": 49.738,
"l": 62.549
},
"oklch": {
"l": 0.65098,
"c": 0.15178,
"h": 314.4
},
"luminance": 0.2544
}Semantic roles & 50–950 ramp
primary
#B170CF
secondary
#C7DFBC
accent
#BD2857
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83