#AF3E9E#AF3E9E
#AF3E9E is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.183 H 334.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3E9E |
|---|---|
| RGB | rgb(175, 62, 158) |
| HSL | hsl(309, 48%, 46%) |
| HSV | hsv(309, 65%, 69%) |
| CMYK | cmyk(0%, 64.6%, 9.7%, 31.4%) |
| CIE-LAB | lab(45.68, 56.95, -29.21) |
| CIE-LCH | lch(45.68, 64.00, 332.85°) |
| OKLab | oklab(55.56% 0.165 -0.0797) |
| OKLCH | oklch(55.56% 0.183 334.2) |
| XYZ | xyz(25.5735, 15.0299, 33.8953) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.35
Medium Purple
#9E43A2
ΔE00 3.78
Purpley Pink
#C83CB9
ΔE00 5.97
Warm Purple
#952E8F
ΔE00 6.77
Barney
#AC1DB8
ΔE00 7.00
Purply
#983FB2
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3E9E #3EAF4F
analogous
#883EAF #AF3E9E #AF3E66
triadic
#AF3E9E #9EAF3E #3E9EAF
tetradic
#AF3E9E #AF883E #3EAF4F #3E66AF
square
#AF3E9E #AF883E #3EAF4F #3E66AF
split-complementary
#AF3E9E #66AF3E #3EAF88
monochromatic
#551E4C #822E75 #AF3E9E #C863B8 #D890CD
Accessibility & contrast
On white
5.24
#AF3E9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#AF3E9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3E9E
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3E9E | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D62A1
Deuteranopia (green-blind)
#62729B
Tritanopia (blue-blind)
#B74668
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af3e9e; /* rgb */ color: rgb(175, 62, 158); /* oklch */ color: oklch(55.6% 0.183 334.2);
Tailwind
colors: {
custom: {
50: '#ca7bbb',
500: '#af3e9e',
950: '#000000',
},
}SCSS
$custom: #af3e9e; $custom-light: #ca7bbb; $custom-dark: #000000;
JSON
{
"hex": "#af3e9e",
"rgb": {
"r": 175,
"g": 62,
"b": 158
},
"hsl": {
"h": 309.027,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.55561,
"c": 0.18325,
"h": 334.2
},
"luminance": 0.15028
}Semantic roles & 50–950 ramp
primary
#AF3E9E
secondary
#86C38F
accent
#D76551
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81