#AF7EF3#AF7EF3
#AF7EF3 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.1% C 0.171 H 301.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7EF3 |
|---|---|
| RGB | rgb(175, 126, 243) |
| HSL | hsl(265, 83%, 72%) |
| HSV | hsv(265, 48%, 95%) |
| CMYK | cmyk(28%, 48.1%, 0%, 4.7%) |
| CIE-LAB | lab(62.09, 42.16, -52.00) |
| CIE-LCH | lch(62.09, 66.95, 309.03°) |
| OKLab | oklab(69.05% 0.0892 -0.1461) |
| OKLCH | oklch(69.05% 0.171 301.4) |
| XYZ | xyz(41.3140, 30.5066, 88.4885) |
| Luminance | 0.3051 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.44
Light Urple
#B36FF6
ΔE00 3.77
Easter Purple
#C071FE
ΔE00 4.32
Liliac
#C48EFD
ΔE00 5.25
Mediumpurple
#9370DB
ΔE00 6.72
Periwinkle (survey)
#8E82FE
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7EF3 #C2F37E
analogous
#7E88F3 #AF7EF3 #E97EF3
triadic
#AF7EF3 #F3AF7E #7EF3AF
tetradic
#AF7EF3 #F37E88 #C2F37E #7EF3E9
square
#AF7EF3 #F37E88 #C2F37E #7EF3E9
split-complementary
#AF7EF3 #F3E97E #88F37E
monochromatic
#6B15E2 #8C46EE #AF7EF3 #D2B6F8 #EEE3FC
Accessibility & contrast
On white
2.96
#AF7EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#AF7EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF7EF3
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7EF3 | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F7
Deuteranopia (green-blind)
#6696F0
Tritanopia (blue-blind)
#A293AD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #af7ef3; /* rgb */ color: rgb(175, 126, 243); /* oklch */ color: oklch(69.1% 0.171 301.4);
Tailwind
colors: {
custom: {
50: '#caa4f7',
500: '#af7ef3',
950: '#000000',
},
}SCSS
$custom: #af7ef3; $custom-light: #caa4f7; $custom-dark: #000000;
JSON
{
"hex": "#af7ef3",
"rgb": {
"r": 175,
"g": 126,
"b": 243
},
"hsl": {
"h": 265.128,
"s": 82.979,
"l": 72.353
},
"oklch": {
"l": 0.69051,
"c": 0.17116,
"h": 301.4
},
"luminance": 0.30507
}Semantic roles & 50–950 ramp
primary
#AF7EF3
secondary
#E8F4D7
accent
#DF0684
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85