#AF3FD2#AF3FD2
#AF3FD2 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.226 H 316.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3FD2 |
|---|---|
| RGB | rgb(175, 63, 210) |
| HSL | hsl(286, 62%, 54%) |
| HSV | hsv(286, 70%, 82%) |
| CMYK | cmyk(16.7%, 70%, 0%, 17.6%) |
| CIE-LAB | lab(48.66, 65.77, -54.87) |
| CIE-LCH | lch(48.66, 85.65, 320.16°) |
| OKLab | oklab(58.64% 0.1649 -0.1542) |
| OKLCH | oklch(58.64% 0.226 316.9) |
| XYZ | xyz(31.0878, 17.3234, 62.6665) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 5.12
Mediumorchid
#BA55D3
ΔE00 5.45
Darkorchid
#9932CC
ΔE00 5.48
Vibrant Purple
#AD03DE
ΔE00 5.55
Hot Purple
#CB00F5
ΔE00 5.70
Neon Purple
#BC13FE
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3FD2 #62D23F
analogous
#653FD2 #AF3FD2 #D23FAB
triadic
#AF3FD2 #D2AF3F #3FD2AF
tetradic
#AF3FD2 #D2653F #62D23F #3FABD2
square
#AF3FD2 #D2653F #62D23F #3FABD2
split-complementary
#AF3FD2 #ABD23F #3FD265
monochromatic
#641D7A #8C28AC #AF3FD2 #C471DE #D8A2E9
Accessibility & contrast
On white
4.70
#AF3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#AF3FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3FD2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3FD2 | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#AD5C84
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af3fd2; /* rgb */ color: rgb(175, 63, 210); /* oklch */ color: oklch(58.6% 0.226 316.9);
Tailwind
colors: {
custom: {
50: '#cb7ee0',
500: '#af3fd2',
950: '#000000',
},
}SCSS
$custom: #af3fd2; $custom-light: #cb7ee0; $custom-dark: #000000;
JSON
{
"hex": "#af3fd2",
"rgb": {
"r": 175,
"g": 63,
"b": 210
},
"hsl": {
"h": 285.714,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.58635,
"c": 0.22579,
"h": 316.9
},
"luminance": 0.17322
}Semantic roles & 50–950 ramp
primary
#AF3FD2
secondary
#A6D697
accent
#E54369
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83