#AF46D0#AF46D0
#AF46D0 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.215 H 317.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF46D0 |
|---|---|
| RGB | rgb(175, 70, 208) |
| HSL | hsl(286, 59%, 55%) |
| HSV | hsv(286, 66%, 82%) |
| CMYK | cmyk(15.9%, 66.3%, 0%, 18.4%) |
| CIE-LAB | lab(49.56, 62.54, -52.30) |
| CIE-LCH | lch(49.56, 81.52, 320.10°) |
| OKLab | oklab(59.24% 0.1577 -0.1467) |
| OKLCH | oklch(59.24% 0.215 317.1) |
| XYZ | xyz(31.2529, 18.0496, 61.4999) |
| Luminance | 0.1805 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.32
Lightish Purple
#A552E6
ΔE00 4.73
Amethyst
#9B5FC0
ΔE00 6.10
Hot Purple
#CB00F5
ΔE00 6.21
Purple Pink
#D725DE
ΔE00 6.39
Purply
#983FB2
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF46D0 #67D046
analogous
#6A46D0 #AF46D0 #D046AC
triadic
#AF46D0 #D0AF46 #46D0AF
tetradic
#AF46D0 #D06A46 #67D046 #46ACD0
square
#AF46D0 #D06A46 #67D046 #46ACD0
split-complementary
#AF46D0 #ACD046 #46D06A
monochromatic
#66207C #8E2CAD #AF46D0 #C477DC #D9A8E9
Accessibility & contrast
On white
4.56
#AF46D0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#AF46D0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF46D0
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF46D0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF46D0 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026FD4
Deuteranopia (green-blind)
#4979CD
Tritanopia (blue-blind)
#AE6085
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #af46d0; /* rgb */ color: rgb(175, 70, 208); /* oklch */ color: oklch(59.2% 0.215 317.1);
Tailwind
colors: {
custom: {
50: '#ca81df',
500: '#af46d0',
950: '#000000',
},
}SCSS
$custom: #af46d0; $custom-light: #ca81df; $custom-dark: #000000;
JSON
{
"hex": "#af46d0",
"rgb": {
"r": 175,
"g": 70,
"b": 208
},
"hsl": {
"h": 285.652,
"s": 59.483,
"l": 54.51
},
"oklch": {
"l": 0.59235,
"c": 0.21538,
"h": 317.1
},
"luminance": 0.18048
}Semantic roles & 50–950 ramp
primary
#AF46D0
secondary
#AAD69C
accent
#E3456B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83