#AB4FBF#AB4FBF
#AB4FBF is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.8% C 0.185 H 320.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4FBF |
|---|---|
| RGB | rgb(171, 79, 191) |
| HSL | hsl(289, 47%, 53%) |
| HSV | hsv(289, 59%, 75%) |
| CMYK | cmyk(10.5%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(49.51, 54.20, -42.60) |
| CIE-LCH | lch(49.51, 68.94, 321.83°) |
| OKLab | oklab(58.78% 0.1421 -0.1186) |
| OKLCH | oklch(58.78% 0.185 320.2) |
| XYZ | xyz(28.9934, 18.0128, 51.2297) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.42
Amethyst
#9B5FC0
ΔE00 4.61
Purpley Pink
#C83CB9
ΔE00 5.80
Purply
#983FB2
ΔE00 5.96
Pinky Purple
#C94CBE
ΔE00 6.06
Medium Purple
#9E43A2
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4FBF #63BF4F
analogous
#734FBF #AB4FBF #BF4F9B
triadic
#AB4FBF #BFAB4F #4FBFAB
tetradic
#AB4FBF #BF734F #63BF4F #4F9BBF
square
#AB4FBF #BF734F #63BF4F #4F9BBF
split-complementary
#AB4FBF #9BBF4F #4FBF73
monochromatic
#60276C #883899 #AB4FBF #C07CCF #D6A9E0
Accessibility & contrast
On white
4.56
#AB4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#AB4FBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB4FBF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB4FBF | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376FC3
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#AC6080
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ab4fbf; /* rgb */ color: rgb(171, 79, 191); /* oklch */ color: oklch(58.8% 0.185 320.2);
Tailwind
colors: {
custom: {
50: '#c785d3',
500: '#ab4fbf',
950: '#000000',
},
}SCSS
$custom: #ab4fbf; $custom-light: #c785d3; $custom-dark: #000000;
JSON
{
"hex": "#ab4fbf",
"rgb": {
"r": 171,
"g": 79,
"b": 191
},
"hsl": {
"h": 289.286,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.58778,
"c": 0.18509,
"h": 320.2
},
"luminance": 0.18011
}Semantic roles & 50–950 ramp
primary
#AB4FBF
secondary
#A5CD9D
accent
#D65169
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83