#AB4FBE#AB4FBE
#AB4FBE is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.184 H 320.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4FBE |
|---|---|
| RGB | rgb(171, 79, 190) |
| HSL | hsl(290, 46%, 53%) |
| HSV | hsv(290, 58%, 75%) |
| CMYK | cmyk(10%, 58.4%, 0%, 25.5%) |
| CIE-LAB | lab(49.46, 54.01, -42.11) |
| CIE-LCH | lch(49.46, 68.48, 322.06°) |
| OKLab | oklab(58.72% 0.142 -0.1172) |
| OKLCH | oklch(58.72% 0.184 320.5) |
| XYZ | xyz(28.8837, 17.9689, 50.6521) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.52
Amethyst
#9B5FC0
ΔE00 4.67
Purpley Pink
#C83CB9
ΔE00 5.72
Purply
#983FB2
ΔE00 5.93
Medium Purple
#9E43A2
ΔE00 5.96
Pinky Purple
#C94CBE
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4FBE #62BE4F
analogous
#744FBE #AB4FBE #BE4F99
triadic
#AB4FBE #BEAB4F #4FBEAB
tetradic
#AB4FBE #BE744F #62BE4F #4F99BE
square
#AB4FBE #BE744F #62BE4F #4F99BE
split-complementary
#AB4FBE #99BE4F #4FBE74
monochromatic
#60286B #873898 #AB4FBE #C07CCF #D6A8DF
Accessibility & contrast
On white
4.57
#AB4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#AB4FBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB4FBE
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4FBE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB4FBE | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#AC607F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ab4fbe; /* rgb */ color: rgb(171, 79, 190); /* oklch */ color: oklch(58.7% 0.184 320.5);
Tailwind
colors: {
custom: {
50: '#c785d2',
500: '#ab4fbe',
950: '#000000',
},
}SCSS
$custom: #ab4fbe; $custom-light: #c785d2; $custom-dark: #000000;
JSON
{
"hex": "#ab4fbe",
"rgb": {
"r": 171,
"g": 79,
"b": 190
},
"hsl": {
"h": 289.73,
"s": 46.058,
"l": 52.745
},
"oklch": {
"l": 0.58722,
"c": 0.18412,
"h": 320.5
},
"luminance": 0.17968
}Semantic roles & 50–950 ramp
primary
#AB4FBE
secondary
#A5CC9C
accent
#D65269
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82