#AF4CDF#AF4CDF
#AF4CDF is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.222 H 312.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4CDF |
|---|---|
| RGB | rgb(175, 76, 223) |
| HSL | hsl(280, 70%, 59%) |
| HSV | hsv(280, 66%, 87%) |
| CMYK | cmyk(21.5%, 65.9%, 0%, 12.5%) |
| CIE-LAB | lab(51.40, 62.97, -57.89) |
| CIE-LCH | lch(51.40, 85.54, 317.41°) |
| OKLab | oklab(60.85% 0.1503 -0.1631) |
| OKLCH | oklch(60.85% 0.222 312.7) |
| XYZ | xyz(33.5806, 19.6115, 71.8142) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.40
Mediumorchid
#BA55D3
ΔE00 3.99
Lighter Purple
#A55AF4
ΔE00 4.77
Neon Purple
#BC13FE
ΔE00 5.82
Hot Purple
#CB00F5
ΔE00 5.83
Bright Purple
#BE03FD
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4CDF #7CDF4C
analogous
#654CDF #AF4CDF #DF4CC5
triadic
#AF4CDF #DFAF4C #4CDFAF
tetradic
#AF4CDF #DF654C #7CDF4C #4CC5DF
square
#AF4CDF #DF654C #7CDF4C #4CC5DF
split-complementary
#AF4CDF #C5DF4C #4CDF65
monochromatic
#6E1B96 #9424CA #AF4CDF #C680E8 #DDB4F2
Accessibility & contrast
On white
4.27
#AF4CDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#AF4CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF4CDF
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF4CDF | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#407DDC
Tritanopia (blue-blind)
#AA698F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #af4cdf; /* rgb */ color: rgb(175, 76, 223); /* oklch */ color: oklch(60.8% 0.222 312.7);
Tailwind
colors: {
custom: {
50: '#cb85ea',
500: '#af4cdf',
950: '#000000',
},
}SCSS
$custom: #af4cdf; $custom-light: #cb85ea; $custom-dark: #000000;
JSON
{
"hex": "#af4cdf",
"rgb": {
"r": 175,
"g": 76,
"b": 223
},
"hsl": {
"h": 280.408,
"s": 69.668,
"l": 58.627
},
"oklch": {
"l": 0.60848,
"c": 0.22183,
"h": 312.7
},
"luminance": 0.19611
}Semantic roles & 50–950 ramp
primary
#AF4CDF
secondary
#B9E0A6
accent
#EC3B75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84