#B173F7#B173F7
#B173F7 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.8% C 0.193 H 303.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B173F7 |
|---|---|
| RGB | rgb(177, 115, 247) |
| HSL | hsl(268, 89%, 71%) |
| HSV | hsv(268, 53%, 97%) |
| CMYK | cmyk(28.3%, 53.4%, 0%, 3.1%) |
| CIE-LAB | lab(60.18, 49.57, -57.24) |
| CIE-LCH | lch(60.18, 75.72, 310.89°) |
| OKLab | oklab(67.75% 0.1061 -0.1613) |
| OKLCH | oklch(67.75% 0.193 303.3) |
| XYZ | xyz(41.0470, 28.3240, 91.2823) |
| Luminance | 0.2832 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.03
Easter Purple
#C071FE
ΔE00 2.62
Light Purple
#BF77F6
ΔE00 2.90
Bright Lavender
#C760FF
ΔE00 4.95
Bright Lilac
#C95EFB
ΔE00 5.47
Mediumpurple
#9370DB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B173F7 #B9F773
analogous
#7377F7 #B173F7 #F373F7
triadic
#B173F7 #F7B173 #73F7B1
tetradic
#B173F7 #F77377 #B9F773 #73F7F3
square
#B173F7 #F77377 #B9F773 #73F7F3
split-complementary
#B173F7 #F7F373 #77F773
monochromatic
#710DE3 #9139F4 #B173F7 #D1ADFA #EFE2FD
Accessibility & contrast
On white
3.15
#B173F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#B173F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B173F7
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B173F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B173F7 | 1.00 | 3.15 | 6.66 | 6.66 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4390FB
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#A48CAA
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b173f7; /* rgb */ color: rgb(177, 115, 247); /* oklch */ color: oklch(67.8% 0.193 303.3);
Tailwind
colors: {
custom: {
50: '#cc9dfa',
500: '#b173f7',
950: '#000000',
},
}SCSS
$custom: #b173f7; $custom-light: #cc9dfa; $custom-dark: #000000;
JSON
{
"hex": "#b173f7",
"rgb": {
"r": 177,
"g": 115,
"b": 247
},
"hsl": {
"h": 268.182,
"s": 89.189,
"l": 70.98
},
"oklch": {
"l": 0.67751,
"c": 0.19307,
"h": 303.3
},
"luminance": 0.28324
}Semantic roles & 50–950 ramp
primary
#B173F7
secondary
#E4F4D1
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85