#B172DB#B172DB
#B172DB is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.0% C 0.162 H 310.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B172DB |
|---|---|
| RGB | rgb(177, 114, 219) |
| HSL | hsl(276, 59%, 65%) |
| HSV | hsv(276, 48%, 86%) |
| CMYK | cmyk(19.2%, 47.9%, 0%, 14.1%) |
| CIE-LAB | lab(58.51, 43.72, -44.30) |
| CIE-LCH | lch(58.51, 62.24, 314.62°) |
| OKLab | oklab(66.03% 0.105 -0.1236) |
| OKLCH | oklch(66.03% 0.162 310.3) |
| XYZ | xyz(36.9326, 26.4968, 70.1729) |
| Luminance | 0.2650 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.36
Light Purple
#BF77F6
ΔE00 4.47
Easter Purple
#C071FE
ΔE00 5.35
Wisteria
#A87DC2
ΔE00 6.13
Mediumpurple
#9370DB
ΔE00 6.33
Bright Lilac
#C95EFB
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B172DB #9CDB72
analogous
#7C72DB #B172DB #DB72D0
triadic
#B172DB #DBB172 #72DBB1
tetradic
#B172DB #DB7C72 #9CDB72 #72D0DB
square
#B172DB #DB7C72 #9CDB72 #72D0DB
split-complementary
#B172DB #D0DB72 #72DB7C
monochromatic
#762BA8 #9641CF #B172DB #CCA3E7 #E7D4F4
Accessibility & contrast
On white
3.33
#B172DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#B172DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B172DB
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B172DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B172DB | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#AC839C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #b172db; /* rgb */ color: rgb(177, 114, 219); /* oklch */ color: oklch(66.0% 0.162 310.3);
Tailwind
colors: {
custom: {
50: '#ca9ce6',
500: '#b172db',
950: '#000000',
},
}SCSS
$custom: #b172db; $custom-light: #ca9ce6; $custom-dark: #000000;
JSON
{
"hex": "#b172db",
"rgb": {
"r": 177,
"g": 114,
"b": 219
},
"hsl": {
"h": 276,
"s": 59.322,
"l": 65.294
},
"oklch": {
"l": 0.66034,
"c": 0.16214,
"h": 310.3
},
"luminance": 0.26496
}Semantic roles & 50–950 ramp
primary
#B172DB
secondary
#D1E6C3
accent
#C71F62
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84