#B174E9#B174E9
#B174E9 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.1% C 0.175 H 306.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B174E9 |
|---|---|
| RGB | rgb(177, 116, 233) |
| HSL | hsl(271, 73%, 68%) |
| HSV | hsv(271, 50%, 91%) |
| CMYK | cmyk(24%, 50.2%, 0%, 8.6%) |
| CIE-LAB | lab(59.64, 45.79, -50.34) |
| CIE-LCH | lch(59.64, 68.05, 312.29°) |
| OKLab | oklab(67.11% 0.1038 -0.1412) |
| OKLCH | oklch(67.11% 0.175 306.3) |
| XYZ | xyz(39.0818, 27.7214, 80.3669) |
| Luminance | 0.2772 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.28
Light Purple
#BF77F6
ΔE00 2.88
Easter Purple
#C071FE
ΔE00 3.54
Bright Lavender
#C760FF
ΔE00 5.55
Bright Lilac
#C95EFB
ΔE00 5.79
Mediumpurple
#9370DB
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B174E9 #ACE974
analogous
#7674E9 #B174E9 #E974E6
triadic
#B174E9 #E9B174 #74E9B1
tetradic
#B174E9 #E97674 #ACE974 #74E6E9
square
#B174E9 #E97674 #ACE974 #74E6E9
split-complementary
#B174E9 #E6E974 #74E976
monochromatic
#751FC4 #933FE1 #B174E9 #CFA9F1 #ECDEFA
Accessibility & contrast
On white
3.21
#B174E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#B174E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B174E9
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B174E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B174E9 | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528EED
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#A889A4
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b174e9; /* rgb */ color: rgb(177, 116, 233); /* oklch */ color: oklch(67.1% 0.175 306.3);
Tailwind
colors: {
custom: {
50: '#cb9ef0',
500: '#b174e9',
950: '#000000',
},
}SCSS
$custom: #b174e9; $custom-light: #cb9ef0; $custom-dark: #000000;
JSON
{
"hex": "#b174e9",
"rgb": {
"r": 177,
"g": 116,
"b": 233
},
"hsl": {
"h": 271.282,
"s": 72.671,
"l": 68.431
},
"oklch": {
"l": 0.67105,
"c": 0.17521,
"h": 306.3
},
"luminance": 0.27721
}Semantic roles & 50–950 ramp
primary
#B174E9
secondary
#DCEECB
accent
#D5116F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85