#B173BF#B173BF
#B173BF is a light, vivid purple. Relative luminance 0.254; OKLCH L 64.8% C 0.129 H 320.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B173BF |
|---|---|
| RGB | rgb(177, 115, 191) |
| HSL | hsl(289, 37%, 60%) |
| HSV | hsv(289, 40%, 75%) |
| CMYK | cmyk(7.3%, 39.8%, 0%, 25.1%) |
| CIE-LAB | lab(57.44, 37.23, -30.12) |
| CIE-LCH | lch(57.44, 47.89, 321.03°) |
| OKLab | oklab(64.81% 0.0988 -0.0827) |
| OKLCH | oklch(64.81% 0.129 320.1) |
| XYZ | xyz(33.6650, 25.3713, 52.4039) |
| Luminance | 0.2537 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.68
Wisteria
#A87DC2
ΔE00 3.74
Orchid (survey)
#C875C4
ΔE00 4.62
Dark Lilac
#9C6DA5
ΔE00 6.01
Deep Lilac
#966EBD
ΔE00 6.28
Orchid
#DA70D6
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B173BF #81BF73
analogous
#8B73BF #B173BF #BF73A7
triadic
#B173BF #BFB173 #73BFB1
tetradic
#B173BF #BF8B73 #81BF73 #73A7BF
square
#B173BF #BF8B73 #81BF73 #73A7BF
split-complementary
#B173BF #A7BF73 #73BF8B
monochromatic
#713A7E #974DA8 #B173BF #C89DD2 #E0C7E5
Accessibility & contrast
On white
3.46
#B173BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#B173BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B173BF
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B173BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B173BF | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6986C2
Deuteranopia (green-blind)
#798CBD
Tritanopia (blue-blind)
#B27C90
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b173bf; /* rgb */ color: rgb(177, 115, 191); /* oklch */ color: oklch(64.8% 0.129 320.1);
Tailwind
colors: {
custom: {
50: '#c99cd2',
500: '#b173bf',
950: '#000000',
},
}SCSS
$custom: #b173bf; $custom-light: #c99cd2; $custom-dark: #000000;
JSON
{
"hex": "#b173bf",
"rgb": {
"r": 177,
"g": 115,
"b": 191
},
"hsl": {
"h": 288.947,
"s": 37.255,
"l": 60
},
"oklch": {
"l": 0.64812,
"c": 0.12883,
"h": 320.1
},
"luminance": 0.2537
}Semantic roles & 50–950 ramp
primary
#B173BF
secondary
#BED6B8
accent
#CD5B70
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82