#AF3FC2#AF3FC2
#AF3FC2 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.6% C 0.212 H 321.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3FC2 |
|---|---|
| RGB | rgb(175, 63, 194) |
| HSL | hsl(291, 52%, 50%) |
| HSV | hsv(291, 68%, 76%) |
| CMYK | cmyk(9.8%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(47.71, 62.75, -47.18) |
| CIE-LCH | lch(47.71, 78.51, 323.06°) |
| OKLab | oklab(57.64% 0.1657 -0.1317) |
| OKLCH | oklch(57.64% 0.212 321.5) |
| XYZ | xyz(29.1932, 16.5656, 52.6882) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.73
Barney
#AC1DB8
ΔE00 5.02
Purpley Pink
#C83CB9
ΔE00 5.64
Medium Purple
#9E43A2
ΔE00 5.67
Ugly Purple
#A442A0
ΔE00 5.89
Darkorchid
#9932CC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3FC2 #52C23F
analogous
#6E3FC2 #AF3FC2 #C23F93
triadic
#AF3FC2 #C2AF3F #3FC2AF
tetradic
#AF3FC2 #C26E3F #52C23F #3F93C2
square
#AF3FC2 #C26E3F #52C23F #3F93C2
split-complementary
#AF3FC2 #93C23F #3FC26E
monochromatic
#5C2066 #862F95 #AF3FC2 #C26DD1 #D69CE0
Accessibility & contrast
On white
4.87
#AF3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#AF3FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3FC2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3FC2 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1469C6
Deuteranopia (green-blind)
#4F75BF
Tritanopia (blue-blind)
#B1567C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af3fc2; /* rgb */ color: rgb(175, 63, 194); /* oklch */ color: oklch(57.6% 0.212 321.5);
Tailwind
colors: {
custom: {
50: '#ca7dd5',
500: '#af3fc2',
950: '#000000',
},
}SCSS
$custom: #af3fc2; $custom-light: #ca7dd5; $custom-dark: #000000;
JSON
{
"hex": "#af3fc2",
"rgb": {
"r": 175,
"g": 63,
"b": 194
},
"hsl": {
"h": 291.298,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.57643,
"c": 0.21169,
"h": 321.5
},
"luminance": 0.16564
}Semantic roles & 50–950 ramp
primary
#AF3FC2
secondary
#9ACC91
accent
#DB4D61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83