#AF46D2#AF46D2
#AF46D2 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.4% C 0.217 H 316.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AF46D2 |
|---|---|
| RGB | rgb(175, 70, 210) |
| HSL | hsl(285, 61%, 55%) |
| HSV | hsv(285, 67%, 82%) |
| CMYK | cmyk(16.7%, 66.7%, 0%, 17.6%) |
| CIE-LAB | lab(49.68, 62.93, -53.25) |
| CIE-LCH | lch(49.68, 82.44, 319.76°) |
| OKLab | oklab(59.36% 0.1576 -0.1495) |
| OKLCH | oklch(59.36% 0.217 316.5) |
| XYZ | xyz(31.5005, 18.1486, 62.8040) |
| Luminance | 0.1815 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.31
Lightish Purple
#A552E6
ΔE00 4.45
Hot Purple
#CB00F5
ΔE00 6.04
Amethyst
#9B5FC0
ΔE00 6.17
Purple Pink
#D725DE
ΔE00 6.38
Neon Purple
#BC13FE
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF46D2 #69D246
analogous
#6946D2 #AF46D2 #D246AF
triadic
#AF46D2 #D2AF46 #46D2AF
tetradic
#AF46D2 #D26946 #69D246 #46AFD2
square
#AF46D2 #D26946 #69D246 #46AFD2
split-complementary
#AF46D2 #AFD246 #46D269
monochromatic
#671F7F #8F2BB0 #AF46D2 #C477DE #DAA8EA
Accessibility & contrast
On white
4.54
#AF46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#AF46D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF46D2
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF46D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF46D2 | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#AD6186
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #af46d2; /* rgb */ color: rgb(175, 70, 210); /* oklch */ color: oklch(59.4% 0.217 316.5);
Tailwind
colors: {
custom: {
50: '#cb81e0',
500: '#af46d2',
950: '#000000',
},
}SCSS
$custom: #af46d2; $custom-light: #cb81e0; $custom-dark: #000000;
JSON
{
"hex": "#af46d2",
"rgb": {
"r": 175,
"g": 70,
"b": 210
},
"hsl": {
"h": 285,
"s": 60.87,
"l": 54.902
},
"oklch": {
"l": 0.59359,
"c": 0.21722,
"h": 316.5
},
"luminance": 0.18147
}Semantic roles & 50–950 ramp
primary
#AF46D2
secondary
#ABD79C
accent
#E4446C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83