#B172CD#B172CD
#B172CD is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.3% C 0.146 H 314.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B172CD |
|---|---|
| RGB | rgb(177, 114, 205) |
| HSL | hsl(282, 48%, 63%) |
| HSV | hsv(282, 44%, 80%) |
| CMYK | cmyk(13.7%, 44.4%, 0%, 19.6%) |
| CIE-LAB | lab(57.84, 40.68, -37.45) |
| CIE-LCH | lch(57.84, 55.30, 317.37°) |
| OKLab | oklab(65.32% 0.1029 -0.1037) |
| OKLCH | oklch(65.32% 0.146 314.8) |
| XYZ | xyz(35.1665, 25.7904, 60.8713) |
| Luminance | 0.2579 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.44
Soft Purple
#A66FB5
ΔE00 4.61
Deep Lilac
#966EBD
ΔE00 5.77
Orchid (survey)
#C875C4
ΔE00 6.04
Light Purple
#BF77F6
ΔE00 6.65
Mediumorchid
#BA55D3
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B172CD #8ECD72
analogous
#8372CD #B172CD #CD72BC
triadic
#B172CD #CDB172 #72CDB1
tetradic
#B172CD #CD8372 #8ECD72 #72BCCD
square
#B172CD #CD8372 #8ECD72 #72BCCD
split-complementary
#B172CD #BCCD72 #72CD83
monochromatic
#743391 #9845BD #B172CD #CA9FDD #E3CCED
Accessibility & contrast
On white
3.41
#B172CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#B172CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B172CD
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B172CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B172CD | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#728DCA
Tritanopia (blue-blind)
#AF7F96
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b172cd; /* rgb */ color: rgb(177, 114, 205); /* oklch */ color: oklch(65.3% 0.146 314.8);
Tailwind
colors: {
custom: {
50: '#ca9cdc',
500: '#b172cd',
950: '#000000',
},
}SCSS
$custom: #b172cd; $custom-light: #ca9cdc; $custom-dark: #000000;
JSON
{
"hex": "#b172cd",
"rgb": {
"r": 177,
"g": 114,
"b": 205
},
"hsl": {
"h": 281.538,
"s": 47.644,
"l": 62.549
},
"oklch": {
"l": 0.65317,
"c": 0.14615,
"h": 314.8
},
"luminance": 0.2579
}Semantic roles & 50–950 ramp
primary
#B172CD
secondary
#C7DEBD
accent
#BB2B57
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83