#AB5FBF#AB5FBF
#AB5FBF is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.0% C 0.160 H 319.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5FBF |
|---|---|
| RGB | rgb(171, 95, 191) |
| HSL | hsl(288, 43%, 56%) |
| HSV | hsv(288, 50%, 75%) |
| CMYK | cmyk(10.5%, 50.3%, 0%, 25.1%) |
| CIE-LAB | lab(52.51, 46.20, -37.86) |
| CIE-LCH | lch(52.51, 59.73, 320.67°) |
| OKLab | oklab(60.99% 0.1206 -0.1049) |
| OKLCH | oklch(60.99% 0.16 319) |
| XYZ | xyz(30.2895, 20.6051, 51.6618) |
| Luminance | 0.2060 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.56
Mediumorchid
#BA55D3
ΔE00 4.10
Soft Purple
#A66FB5
ΔE00 5.15
Deep Lilac
#966EBD
ΔE00 6.05
Pinky Purple
#C94CBE
ΔE00 6.10
Deep Lavender
#8D5EB7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5FBF #73BF5F
analogous
#7B5FBF #AB5FBF #BF5FA3
triadic
#AB5FBF #BFAB5F #5FBFAB
tetradic
#AB5FBF #BF7B5F #73BF5F #5FA3BF
square
#AB5FBF #BF7B5F #73BF5F #5FA3BF
split-complementary
#AB5FBF #A3BF5F #5FBF7B
monochromatic
#662F75 #8C40A1 #AB5FBF #C28BD0 #D9B6E2
Accessibility & contrast
On white
4.10
#AB5FBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#AB5FBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB5FBF
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB5FBF | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E78C2
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#AB6D86
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #ab5fbf; /* rgb */ color: rgb(171, 95, 191); /* oklch */ color: oklch(61.0% 0.160 319.0);
Tailwind
colors: {
custom: {
50: '#c68fd2',
500: '#ab5fbf',
950: '#000000',
},
}SCSS
$custom: #ab5fbf; $custom-light: #c68fd2; $custom-dark: #000000;
JSON
{
"hex": "#ab5fbf",
"rgb": {
"r": 171,
"g": 95,
"b": 191
},
"hsl": {
"h": 287.5,
"s": 42.857,
"l": 56.078
},
"oklch": {
"l": 0.60985,
"c": 0.15989,
"h": 319
},
"luminance": 0.20604
}Semantic roles & 50–950 ramp
primary
#AB5FBF
secondary
#B1D1A9
accent
#D3556F
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82