#AF49CC#AF49CC
#AF49CC is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.208 H 318.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AF49CC |
|---|---|
| RGB | rgb(175, 73, 204) |
| HSL | hsl(287, 56%, 54%) |
| HSV | hsv(287, 64%, 80%) |
| CMYK | cmyk(14.2%, 64.2%, 0%, 20%) |
| CIE-LAB | lab(49.79, 60.46, -49.63) |
| CIE-LCH | lch(49.79, 78.23, 320.62°) |
| OKLab | oklab(59.33% 0.1544 -0.1389) |
| OKLCH | oklch(59.33% 0.208 318) |
| XYZ | xyz(30.9593, 18.2400, 59.0049) |
| Luminance | 0.1824 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.88
Lightish Purple
#A552E6
ΔE00 5.11
Amethyst
#9B5FC0
ΔE00 5.61
Purpley Pink
#C83CB9
ΔE00 6.31
Purply
#983FB2
ΔE00 6.42
Purple Pink
#D725DE
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF49CC #66CC49
analogous
#6E49CC #AF49CC #CC49A7
triadic
#AF49CC #CCAF49 #49CCAF
tetradic
#AF49CC #CC6E49 #66CC49 #49A7CC
square
#AF49CC #CC6E49 #66CC49 #49A7CC
split-complementary
#AF49CC #A7CC49 #49CC6E
monochromatic
#662279 #8E2FA9 #AF49CC #C479D9 #D9A9E7
Accessibility & contrast
On white
4.52
#AF49CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#AF49CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF49CC
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF49CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF49CC | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#AE6084
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #af49cc; /* rgb */ color: rgb(175, 73, 204); /* oklch */ color: oklch(59.3% 0.208 318.0);
Tailwind
colors: {
custom: {
50: '#ca83dc',
500: '#af49cc',
950: '#000000',
},
}SCSS
$custom: #af49cc; $custom-light: #ca83dc; $custom-dark: #000000;
JSON
{
"hex": "#af49cc",
"rgb": {
"r": 175,
"g": 73,
"b": 204
},
"hsl": {
"h": 286.718,
"s": 56.223,
"l": 54.314
},
"oklch": {
"l": 0.59325,
"c": 0.20773,
"h": 318
},
"luminance": 0.18239
}Semantic roles & 50–950 ramp
primary
#AF49CC
secondary
#A9D49D
accent
#E0486A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83