#AB74CD#AB74CD
#AB74CD is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.0% C 0.140 H 311.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AB74CD |
|---|---|
| RGB | rgb(171, 116, 205) |
| HSL | hsl(277, 47%, 63%) |
| HSV | hsv(277, 43%, 80%) |
| CMYK | cmyk(16.6%, 43.4%, 0%, 19.6%) |
| CIE-LAB | lab(57.61, 37.83, -37.85) |
| CIE-LCH | lch(57.61, 53.52, 314.99°) |
| OKLab | oklab(65% 0.0929 -0.105) |
| OKLCH | oklch(65% 0.14 311.5) |
| XYZ | xyz(34.0575, 25.5571, 60.8847) |
| Luminance | 0.2556 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.88
Soft Purple
#A66FB5
ΔE00 4.70
Deep Lilac
#966EBD
ΔE00 4.82
Mediumpurple
#9370DB
ΔE00 6.66
Light Purple
#BF77F6
ΔE00 6.77
Light Urple
#B36FF6
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB74CD #96CD74
analogous
#7E74CD #AB74CD #CD74C2
triadic
#AB74CD #CDAB74 #74CDAB
tetradic
#AB74CD #CD7E74 #96CD74 #74C2CD
square
#AB74CD #CD7E74 #96CD74 #74C2CD
split-complementary
#AB74CD #C2CD74 #74CD7E
monochromatic
#6E3592 #9047BD #AB74CD #C6A1DD #E1CEED
Accessibility & contrast
On white
3.44
#AB74CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#AB74CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB74CD
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB74CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB74CD | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6188D0
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#A78197
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ab74cd; /* rgb */ color: rgb(171, 116, 205); /* oklch */ color: oklch(65.0% 0.140 311.5);
Tailwind
colors: {
custom: {
50: '#c59ddc',
500: '#ab74cd',
950: '#000000',
},
}SCSS
$custom: #ab74cd; $custom-light: #c59ddc; $custom-dark: #000000;
JSON
{
"hex": "#ab74cd",
"rgb": {
"r": 171,
"g": 116,
"b": 205
},
"hsl": {
"h": 277.079,
"s": 47.09,
"l": 62.941
},
"oklch": {
"l": 0.65002,
"c": 0.14019,
"h": 311.5
},
"luminance": 0.25556
}Semantic roles & 50–950 ramp
primary
#AB74CD
secondary
#CBDEBE
accent
#BA2B62
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83