#B170F7#B170F7
#B170F7 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.3% C 0.198 H 303.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B170F7 |
|---|---|
| RGB | rgb(177, 112, 247) |
| HSL | hsl(269, 89%, 70%) |
| HSV | hsv(269, 55%, 97%) |
| CMYK | cmyk(28.3%, 54.7%, 0%, 3.1%) |
| CIE-LAB | lab(59.57, 51.16, -58.21) |
| CIE-LCH | lch(59.57, 77.50, 311.31°) |
| OKLab | oklab(67.3% 0.1098 -0.1642) |
| OKLCH | oklch(67.3% 0.198 303.8) |
| XYZ | xyz(40.7104, 27.6510, 91.1701) |
| Luminance | 0.2765 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.49
Easter Purple
#C071FE
ΔE00 2.66
Light Purple
#BF77F6
ΔE00 3.23
Bright Lavender
#C760FF
ΔE00 4.49
Bright Lilac
#C95EFB
ΔE00 5.00
Lighter Purple
#A55AF4
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B170F7 #B6F770
analogous
#7072F7 #B170F7 #F570F7
triadic
#B170F7 #F7B170 #70F7B1
tetradic
#B170F7 #F77072 #B6F770 #70F7F5
square
#B170F7 #F77072 #B6F770 #70F7F5
split-complementary
#B170F7 #F7F570 #72F770
monochromatic
#720DE0 #9136F4 #B170F7 #D1AAFA #EFE2FD
Accessibility & contrast
On white
3.22
#B170F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#B170F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B170F7
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B170F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B170F7 | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8EFB
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#A48AA9
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b170f7; /* rgb */ color: rgb(177, 112, 247); /* oklch */ color: oklch(67.3% 0.198 303.8);
Tailwind
colors: {
custom: {
50: '#cc9bfa',
500: '#b170f7',
950: '#000000',
},
}SCSS
$custom: #b170f7; $custom-light: #cc9bfa; $custom-dark: #000000;
JSON
{
"hex": "#b170f7",
"rgb": {
"r": 177,
"g": 112,
"b": 247
},
"hsl": {
"h": 268.889,
"s": 89.404,
"l": 70.392
},
"oklch": {
"l": 0.67302,
"c": 0.19751,
"h": 303.8
},
"luminance": 0.27651
}Semantic roles & 50–950 ramp
primary
#B170F7
secondary
#E2F4CF
accent
#E60077
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85