#B171F7#B171F7
#B171F7 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.5% C 0.196 H 303.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B171F7 |
|---|---|
| RGB | rgb(177, 113, 247) |
| HSL | hsl(269, 89%, 71%) |
| HSV | hsv(269, 54%, 97%) |
| CMYK | cmyk(28.3%, 54.3%, 0%, 3.1%) |
| CIE-LAB | lab(59.77, 50.63, -57.89) |
| CIE-LCH | lch(59.77, 76.91, 311.17°) |
| OKLab | oklab(67.45% 0.1086 -0.1632) |
| OKLCH | oklch(67.45% 0.196 303.6) |
| XYZ | xyz(40.8214, 27.8729, 91.2071) |
| Luminance | 0.2787 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.63
Easter Purple
#C071FE
ΔE00 2.62
Light Purple
#BF77F6
ΔE00 3.10
Bright Lavender
#C760FF
ΔE00 4.64
Bright Lilac
#C95EFB
ΔE00 5.15
Lighter Purple
#A55AF4
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B171F7 #B7F771
analogous
#7174F7 #B171F7 #F471F7
triadic
#B171F7 #F7B171 #71F7B1
tetradic
#B171F7 #F77174 #B7F771 #71F7F4
square
#B171F7 #F77174 #B7F771 #71F7F4
split-complementary
#B171F7 #F7F471 #74F771
monochromatic
#720DE1 #9137F4 #B171F7 #D1ABFA #EFE2FD
Accessibility & contrast
On white
3.19
#B171F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#B171F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B171F7
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B171F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B171F7 | 1.00 | 3.19 | 6.57 | 6.57 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8EFB
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#A48BA9
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b171f7; /* rgb */ color: rgb(177, 113, 247); /* oklch */ color: oklch(67.5% 0.196 303.6);
Tailwind
colors: {
custom: {
50: '#cc9cfa',
500: '#b171f7',
950: '#000000',
},
}SCSS
$custom: #b171f7; $custom-light: #cc9cfa; $custom-dark: #000000;
JSON
{
"hex": "#b171f7",
"rgb": {
"r": 177,
"g": 113,
"b": 247
},
"hsl": {
"h": 268.657,
"s": 89.333,
"l": 70.588
},
"oklch": {
"l": 0.67451,
"c": 0.19604,
"h": 303.6
},
"luminance": 0.27873
}Semantic roles & 50–950 ramp
primary
#B171F7
secondary
#E3F4D0
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85