#B173DB#B173DB
#B173DB is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.161 H 310.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B173DB |
|---|---|
| RGB | rgb(177, 115, 219) |
| HSL | hsl(276, 59%, 65%) |
| HSV | hsv(276, 47%, 86%) |
| CMYK | cmyk(19.2%, 47.5%, 0%, 14.1%) |
| CIE-LAB | lab(58.72, 43.17, -43.96) |
| CIE-LCH | lch(58.72, 61.62, 314.48°) |
| OKLab | oklab(66.19% 0.1036 -0.1226) |
| OKLCH | oklch(66.19% 0.161 310.2) |
| XYZ | xyz(37.0460, 26.7237, 70.2107) |
| Luminance | 0.2672 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.42
Light Urple
#B36FF6
ΔE00 4.42
Easter Purple
#C071FE
ΔE00 5.37
Wisteria
#A87DC2
ΔE00 5.97
Mediumpurple
#9370DB
ΔE00 6.37
Bright Lilac
#C95EFB
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B173DB #9DDB73
analogous
#7D73DB #B173DB #DB73D1
triadic
#B173DB #DBB173 #73DBB1
tetradic
#B173DB #DB7D73 #9DDB73 #73D1DB
square
#B173DB #DB7D73 #9DDB73 #73D1DB
split-complementary
#B173DB #D1DB73 #73DB7D
monochromatic
#762BA8 #9642CE #B173DB #CCA4E8 #E7D4F4
Accessibility & contrast
On white
3.31
#B173DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#B173DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B173DB
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B173DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B173DB | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8ADF
Deuteranopia (green-blind)
#6B8ED8
Tritanopia (blue-blind)
#AC849D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #b173db; /* rgb */ color: rgb(177, 115, 219); /* oklch */ color: oklch(66.2% 0.161 310.2);
Tailwind
colors: {
custom: {
50: '#ca9de6',
500: '#b173db',
950: '#000000',
},
}SCSS
$custom: #b173db; $custom-light: #ca9de6; $custom-dark: #000000;
JSON
{
"hex": "#b173db",
"rgb": {
"r": 177,
"g": 115,
"b": 219
},
"hsl": {
"h": 275.769,
"s": 59.091,
"l": 65.49
},
"oklch": {
"l": 0.66192,
"c": 0.16051,
"h": 310.2
},
"luminance": 0.26723
}Semantic roles & 50–950 ramp
primary
#B173DB
secondary
#D2E6C3
accent
#C71F63
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84