#AB4BBF#AB4BBF
#AB4BBF is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.191 H 320.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4BBF |
|---|---|
| RGB | rgb(171, 75, 191) |
| HSL | hsl(290, 48%, 52%) |
| HSV | hsv(290, 61%, 75%) |
| CMYK | cmyk(10.5%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(48.83, 56.07, -43.69) |
| CIE-LCH | lch(48.83, 71.09, 322.07°) |
| OKLab | oklab(58.28% 0.1471 -0.1217) |
| OKLCH | oklch(58.28% 0.191 320.4) |
| XYZ | xyz(28.7135, 17.4530, 51.1364) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.94
Amethyst
#9B5FC0
ΔE00 5.22
Purply
#983FB2
ΔE00 5.29
Medium Purple
#9E43A2
ΔE00 5.66
Purpley Pink
#C83CB9
ΔE00 5.74
Ugly Purple
#A442A0
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4BBF #5FBF4B
analogous
#714BBF #AB4BBF #BF4B99
triadic
#AB4BBF #BFAB4B #4BBFAB
tetradic
#AB4BBF #BF714B #5FBF4B #4B99BF
square
#AB4BBF #BF714B #5FBF4B #4B99BF
split-complementary
#AB4BBF #99BF4B #4BBF71
monochromatic
#5E266A #863697 #AB4BBF #C078CF #D5A5DF
Accessibility & contrast
On white
4.68
#AB4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#AB4BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4BBF
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4BBF | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306DC3
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#AC5D7E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ab4bbf; /* rgb */ color: rgb(171, 75, 191); /* oklch */ color: oklch(58.3% 0.191 320.4);
Tailwind
colors: {
custom: {
50: '#c783d3',
500: '#ab4bbf',
950: '#000000',
},
}SCSS
$custom: #ab4bbf; $custom-light: #c783d3; $custom-dark: #000000;
JSON
{
"hex": "#ab4bbf",
"rgb": {
"r": 171,
"g": 75,
"b": 191
},
"hsl": {
"h": 289.655,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.58279,
"c": 0.19096,
"h": 320.4
},
"luminance": 0.17452
}Semantic roles & 50–950 ramp
primary
#AB4BBF
secondary
#A2CC9A
accent
#D75168
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83