#AF7EE3#AF7EE3
#AF7EE3 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.2% C 0.151 H 305.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7EE3 |
|---|---|
| RGB | rgb(175, 126, 227) |
| HSL | hsl(269, 64%, 69%) |
| HSV | hsv(269, 44%, 89%) |
| CMYK | cmyk(22.9%, 44.5%, 0%, 11%) |
| CIE-LAB | lab(61.29, 38.40, -44.39) |
| CIE-LCH | lch(61.29, 58.70, 310.86°) |
| OKLab | oklab(68.19% 0.0871 -0.1239) |
| OKLCH | oklch(68.19% 0.152 305.1) |
| XYZ | xyz(39.0023, 29.5819, 76.3133) |
| Luminance | 0.2958 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.08
Light Urple
#B36FF6
ΔE00 4.87
Easter Purple
#C071FE
ΔE00 5.49
Liliac
#C48EFD
ΔE00 5.79
Wisteria
#A87DC2
ΔE00 6.18
Mediumpurple
#9370DB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7EE3 #B2E37E
analogous
#7E80E3 #AF7EE3 #E27EE3
triadic
#AF7EE3 #E3AF7E #7EE3AF
tetradic
#AF7EE3 #E37E80 #B2E37E #7EE3E2
square
#AF7EE3 #E37E80 #B2E37E #7EE3E2
split-complementary
#AF7EE3 #E3E27E #80E37E
monochromatic
#7129BD #904CD8 #AF7EE3 #CEB0EE #EDE3F9
Accessibility & contrast
On white
3.04
#AF7EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#AF7EE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7EE3
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7EE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7EE3 | 1.00 | 3.04 | 6.92 | 6.92 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6492E7
Deuteranopia (green-blind)
#7094E0
Tritanopia (blue-blind)
#A78FA6
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #af7ee3; /* rgb */ color: rgb(175, 126, 227); /* oklch */ color: oklch(68.2% 0.151 305.1);
Tailwind
colors: {
custom: {
50: '#c9a4ec',
500: '#af7ee3',
950: '#000000',
},
}SCSS
$custom: #af7ee3; $custom-light: #c9a4ec; $custom-dark: #000000;
JSON
{
"hex": "#af7ee3",
"rgb": {
"r": 175,
"g": 126,
"b": 227
},
"hsl": {
"h": 269.109,
"s": 64.331,
"l": 69.216
},
"oklch": {
"l": 0.68195,
"c": 0.1515,
"h": 305.1
},
"luminance": 0.29582
}Semantic roles & 50–950 ramp
primary
#AF7EE3
secondary
#DFEDD0
accent
#CC1975
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84