#B170DA#B170DA
#B170DA is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.7% C 0.164 H 310.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B170DA |
|---|---|
| RGB | rgb(177, 112, 218) |
| HSL | hsl(277, 59%, 65%) |
| HSV | hsv(277, 49%, 85%) |
| CMYK | cmyk(18.8%, 48.6%, 0%, 14.5%) |
| CIE-LAB | lab(58.04, 44.57, -44.48) |
| CIE-LCH | lch(58.04, 62.97, 315.06°) |
| OKLab | oklab(65.67% 0.1076 -0.1241) |
| OKLCH | oklch(65.67% 0.164 310.9) |
| XYZ | xyz(36.5782, 25.9981, 69.4073) |
| Luminance | 0.2600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.44
Light Purple
#BF77F6
ΔE00 4.75
Easter Purple
#C071FE
ΔE00 5.50
Mediumorchid
#BA55D3
ΔE00 6.27
Bright Lilac
#C95EFB
ΔE00 6.30
Wisteria
#A87DC2
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B170DA #99DA70
analogous
#7C70DA #B170DA #DA70CE
triadic
#B170DA #DAB170 #70DAB1
tetradic
#B170DA #DA7C70 #99DA70 #70CEDA
square
#B170DA #DA7C70 #99DA70 #70CEDA
split-complementary
#B170DA #CEDA70 #70DA7C
monochromatic
#762BA5 #963FCD #B170DA #CCA1E7 #E6D1F3
Accessibility & contrast
On white
3.39
#B170DA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#B170DA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B170DA
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B170DA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B170DA | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5688DE
Deuteranopia (green-blind)
#698DD7
Tritanopia (blue-blind)
#AC819B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b170da; /* rgb */ color: rgb(177, 112, 218); /* oklch */ color: oklch(65.7% 0.164 310.9);
Tailwind
colors: {
custom: {
50: '#ca9be6',
500: '#b170da',
950: '#000000',
},
}SCSS
$custom: #b170da; $custom-light: #ca9be6; $custom-dark: #000000;
JSON
{
"hex": "#b170da",
"rgb": {
"r": 177,
"g": 112,
"b": 218
},
"hsl": {
"h": 276.792,
"s": 58.889,
"l": 64.706
},
"oklch": {
"l": 0.65668,
"c": 0.16424,
"h": 310.9
},
"luminance": 0.25997
}Semantic roles & 50–950 ramp
primary
#B170DA
secondary
#CFE5C1
accent
#C71F60
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84