#B173DC#B173DC
#B173DC is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.2% C 0.162 H 309.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B173DC |
|---|---|
| RGB | rgb(177, 115, 220) |
| HSL | hsl(275, 60%, 66%) |
| HSV | hsv(275, 48%, 86%) |
| CMYK | cmyk(19.5%, 47.7%, 0%, 13.7%) |
| CIE-LAB | lab(58.77, 43.40, -44.45) |
| CIE-LCH | lch(58.77, 62.12, 314.31°) |
| OKLab | oklab(66.24% 0.1037 -0.124) |
| OKLCH | oklch(66.24% 0.162 309.9) |
| XYZ | xyz(37.1781, 26.7765, 70.9061) |
| Luminance | 0.2678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.25
Light Purple
#BF77F6
ΔE00 4.28
Easter Purple
#C071FE
ΔE00 5.22
Wisteria
#A87DC2
ΔE00 6.11
Mediumpurple
#9370DB
ΔE00 6.30
Bright Lilac
#C95EFB
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B173DC #9EDC73
analogous
#7C73DC #B173DC #DC73D2
triadic
#B173DC #DCB173 #73DCB1
tetradic
#B173DC #DC7C73 #9EDC73 #73D2DC
square
#B173DC #DC7C73 #9EDC73 #73D2DC
split-complementary
#B173DC #D2DC73 #73DC7C
monochromatic
#762BAA #9642D0 #B173DC #CCA4E8 #E8D5F4
Accessibility & contrast
On white
3.30
#B173DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#B173DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B173DC
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B173DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B173DC | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#6B8ED9
Tritanopia (blue-blind)
#AC849D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #b173dc; /* rgb */ color: rgb(177, 115, 220); /* oklch */ color: oklch(66.2% 0.162 309.9);
Tailwind
colors: {
custom: {
50: '#ca9de7',
500: '#b173dc',
950: '#000000',
},
}SCSS
$custom: #b173dc; $custom-light: #ca9de7; $custom-dark: #000000;
JSON
{
"hex": "#b173dc",
"rgb": {
"r": 177,
"g": 115,
"b": 220
},
"hsl": {
"h": 275.429,
"s": 60,
"l": 65.686
},
"oklch": {
"l": 0.66244,
"c": 0.16167,
"h": 309.9
},
"luminance": 0.26776
}Semantic roles & 50–950 ramp
primary
#B173DC
secondary
#D2E7C4
accent
#C81E63
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84