#AF6DC7#AF6DC7
#AF6DC7 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.0% C 0.147 H 316.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6DC7 |
|---|---|
| RGB | rgb(175, 109, 199) |
| HSL | hsl(284, 45%, 60%) |
| HSV | hsv(284, 45%, 78%) |
| CMYK | cmyk(12.1%, 45.2%, 0%, 22%) |
| CIE-LAB | lab(56.26, 41.55, -36.53) |
| CIE-LCH | lch(56.26, 55.32, 318.68°) |
| OKLab | oklab(64% 0.1067 -0.1011) |
| OKLCH | oklch(64% 0.147 316.5) |
| XYZ | xyz(33.4551, 24.1757, 56.9258) |
| Luminance | 0.2417 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.73
Wisteria
#A87DC2
ΔE00 5.14
Deep Lilac
#966EBD
ΔE00 5.27
Mediumorchid
#BA55D3
ΔE00 5.87
Amethyst
#9B5FC0
ΔE00 5.89
Orchid (survey)
#C875C4
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6DC7 #85C76D
analogous
#826DC7 #AF6DC7 #C76DB2
triadic
#AF6DC7 #C7AF6D #6DC7AF
tetradic
#AF6DC7 #C7826D #85C76D #6DB2C7
square
#AF6DC7 #C7826D #85C76D #6DB2C7
split-complementary
#AF6DC7 #B2C76D #6DC782
monochromatic
#703386 #9544B2 #AF6DC7 #C799D8 #DFC5E9
Accessibility & contrast
On white
3.60
#AF6DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#AF6DC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6DC7
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6DC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6DC7 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#6F89C4
Tritanopia (blue-blind)
#AE7A91
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #af6dc7; /* rgb */ color: rgb(175, 109, 199); /* oklch */ color: oklch(64.0% 0.147 316.5);
Tailwind
colors: {
custom: {
50: '#c898d8',
500: '#af6dc7',
950: '#000000',
},
}SCSS
$custom: #af6dc7; $custom-light: #c898d8; $custom-dark: #000000;
JSON
{
"hex": "#af6dc7",
"rgb": {
"r": 175,
"g": 109,
"b": 199
},
"hsl": {
"h": 284,
"s": 44.554,
"l": 60.392
},
"oklch": {
"l": 0.64,
"c": 0.147,
"h": 316.5
},
"luminance": 0.24175
}Semantic roles & 50–950 ramp
primary
#AF6DC7
secondary
#C0D9B7
accent
#B82E53
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83