#B170F9#B170F9
#B170F9 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.4% C 0.200 H 303.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B170F9 |
|---|---|
| RGB | rgb(177, 112, 249) |
| HSL | hsl(268, 92%, 71%) |
| HSV | hsv(268, 55%, 98%) |
| CMYK | cmyk(28.9%, 55%, 0%, 2.4%) |
| CIE-LAB | lab(59.69, 51.63, -59.14) |
| CIE-LCH | lch(59.69, 78.50, 311.12°) |
| OKLab | oklab(67.42% 0.1099 -0.1669) |
| OKLCH | oklch(67.42% 0.2 303.4) |
| XYZ | xyz(41.0207, 27.7751, 92.8042) |
| Luminance | 0.2777 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.69
Easter Purple
#C071FE
ΔE00 2.65
Light Purple
#BF77F6
ΔE00 3.32
Bright Lavender
#C760FF
ΔE00 4.50
Bright Lilac
#C95EFB
ΔE00 5.05
Lighter Purple
#A55AF4
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B170F9 #B8F970
analogous
#7073F9 #B170F9 #F570F9
triadic
#B170F9 #F9B170 #70F9B1
tetradic
#B170F9 #F97073 #B8F970 #70F9F5
square
#B170F9 #F97073 #B8F970 #70F9F5
split-complementary
#B170F9 #F9F570 #73F970
monochromatic
#720AE5 #9135F7 #B170F9 #D1ABFB #EFE2FE
Accessibility & contrast
On white
3.20
#B170F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#B170F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B170F9
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B170F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B170F9 | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8EFE
Deuteranopia (green-blind)
#5290F6
Tritanopia (blue-blind)
#A48BAA
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b170f9; /* rgb */ color: rgb(177, 112, 249); /* oklch */ color: oklch(67.4% 0.200 303.4);
Tailwind
colors: {
custom: {
50: '#cc9bfc',
500: '#b170f9',
950: '#000000',
},
}SCSS
$custom: #b170f9; $custom-light: #cc9bfc; $custom-dark: #000000;
JSON
{
"hex": "#b170f9",
"rgb": {
"r": 177,
"g": 112,
"b": 249
},
"hsl": {
"h": 268.467,
"s": 91.946,
"l": 70.784
},
"oklch": {
"l": 0.67422,
"c": 0.19981,
"h": 303.4
},
"luminance": 0.27775
}Semantic roles & 50–950 ramp
primary
#B170F9
secondary
#E3F5D0
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85