#AF7ECD#AF7ECD
#AF7ECD is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.1% C 0.125 H 311.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7ECD |
|---|---|
| RGB | rgb(175, 126, 205) |
| HSL | hsl(277, 44%, 65%) |
| HSV | hsv(277, 39%, 80%) |
| CMYK | cmyk(14.6%, 38.5%, 0%, 19.6%) |
| CIE-LAB | lab(60.29, 33.46, -33.64) |
| CIE-LCH | lch(60.29, 47.45, 314.85°) |
| OKLab | oklab(67.11% 0.0831 -0.0929) |
| OKLCH | oklch(67.11% 0.125 311.8) |
| XYZ | xyz(36.1576, 28.4440, 61.3313) |
| Luminance | 0.2844 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.25
Pale Purple
#B790D4
ΔE00 5.14
Soft Purple
#A66FB5
ΔE00 5.66
Orchid (survey)
#C875C4
ΔE00 6.55
Deep Lilac
#966EBD
ΔE00 6.71
Light Purple
#BF77F6
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7ECD #9CCD7E
analogous
#877ECD #AF7ECD #CD7EC4
triadic
#AF7ECD #CDAF7E #7ECDAF
tetradic
#AF7ECD #CD877E #9CCD7E #7EC4CD
square
#AF7ECD #CD877E #9CCD7E #7EC4CD
split-complementary
#AF7ECD #C4CD7E #7ECD87
monochromatic
#733A96 #9452BC #AF7ECD #CAAADE #E6D6EF
Accessibility & contrast
On white
3.14
#AF7ECD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#AF7ECD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7ECD
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7ECD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7ECD | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F8FD0
Deuteranopia (green-blind)
#7B92CB
Tritanopia (blue-blind)
#AC899C
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #af7ecd; /* rgb */ color: rgb(175, 126, 205); /* oklch */ color: oklch(67.1% 0.125 311.8);
Tailwind
colors: {
custom: {
50: '#c8a4dc',
500: '#af7ecd',
950: '#000000',
},
}SCSS
$custom: #af7ecd; $custom-light: #c8a4dc; $custom-dark: #000000;
JSON
{
"hex": "#af7ecd",
"rgb": {
"r": 175,
"g": 126,
"b": 205
},
"hsl": {
"h": 277.215,
"s": 44.134,
"l": 64.902
},
"oklch": {
"l": 0.6711,
"c": 0.12467,
"h": 311.8
},
"luminance": 0.28443
}Semantic roles & 50–950 ramp
primary
#AF7ECD
secondary
#D0E1C6
accent
#B72E62
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83