#B173F6#B173F6
#B173F6 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.192 H 303.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B173F6 |
|---|---|
| RGB | rgb(177, 115, 246) |
| HSL | hsl(268, 88%, 71%) |
| HSV | hsv(268, 53%, 96%) |
| CMYK | cmyk(28%, 53.3%, 0%, 3.5%) |
| CIE-LAB | lab(60.13, 49.34, -56.77) |
| CIE-LCH | lch(60.13, 75.22, 310.99°) |
| OKLab | oklab(67.69% 0.106 -0.16) |
| OKLCH | oklch(67.69% 0.192 303.5) |
| XYZ | xyz(40.8931, 28.2625, 90.4718) |
| Luminance | 0.2826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.99
Easter Purple
#C071FE
ΔE00 2.64
Light Purple
#BF77F6
ΔE00 2.85
Bright Lavender
#C760FF
ΔE00 4.95
Bright Lilac
#C95EFB
ΔE00 5.45
Mediumpurple
#9370DB
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B173F6 #B8F673
analogous
#7376F6 #B173F6 #F273F6
triadic
#B173F6 #F6B173 #73F6B1
tetradic
#B173F6 #F67376 #B8F673 #73F6F2
square
#B173F6 #F67376 #B8F673 #73F6F2
split-complementary
#B173F6 #F6F273 #76F673
monochromatic
#720EE0 #9139F2 #B173F6 #D1ADFA #EFE2FD
Accessibility & contrast
On white
3.16
#B173F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#B173F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B173F6
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B173F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B173F6 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448FFA
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#A58CAA
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b173f6; /* rgb */ color: rgb(177, 115, 246); /* oklch */ color: oklch(67.7% 0.192 303.5);
Tailwind
colors: {
custom: {
50: '#cc9dfa',
500: '#b173f6',
950: '#000000',
},
}SCSS
$custom: #b173f6; $custom-light: #cc9dfa; $custom-dark: #000000;
JSON
{
"hex": "#b173f6",
"rgb": {
"r": 177,
"g": 115,
"b": 246
},
"hsl": {
"h": 268.397,
"s": 87.919,
"l": 70.784
},
"oklch": {
"l": 0.67692,
"c": 0.19191,
"h": 303.5
},
"luminance": 0.28262
}Semantic roles & 50–950 ramp
primary
#B173F6
secondary
#E3F4D1
accent
#E40179
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85