#AF7EEF#AF7EEF
#AF7EEF is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.166 H 302.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7EEF |
|---|---|
| RGB | rgb(175, 126, 239) |
| HSL | hsl(266, 78%, 72%) |
| HSV | hsv(266, 47%, 94%) |
| CMYK | cmyk(26.8%, 47.3%, 0%, 6.3%) |
| CIE-LAB | lab(61.88, 41.21, -50.12) |
| CIE-LCH | lch(61.88, 64.89, 309.43°) |
| OKLab | oklab(68.83% 0.0887 -0.1406) |
| OKLCH | oklch(68.83% 0.166 302.3) |
| XYZ | xyz(40.7166, 30.2676, 85.3418) |
| Luminance | 0.3027 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.42
Light Urple
#B36FF6
ΔE00 3.89
Easter Purple
#C071FE
ΔE00 4.49
Liliac
#C48EFD
ΔE00 5.27
Mediumpurple
#9370DB
ΔE00 6.58
Bright Lavender
#C760FF
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7EEF #BEEF7E
analogous
#7E86EF #AF7EEF #E87EEF
triadic
#AF7EEF #EFAF7E #7EEFAF
tetradic
#AF7EEF #EF7E86 #BEEF7E #7EEFE8
square
#AF7EEF #EF7E86 #BEEF7E #7EEFE8
split-complementary
#AF7EEF #EFE87E #86EF7E
monochromatic
#6D1BD8 #8D48E8 #AF7EEF #D1B4F6 #EEE4FC
Accessibility & contrast
On white
2.98
#AF7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#AF7EEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF7EEF
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7EEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7EEF | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C95F3
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#A392AB
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #af7eef; /* rgb */ color: rgb(175, 126, 239); /* oklch */ color: oklch(68.8% 0.166 302.3);
Tailwind
colors: {
custom: {
50: '#c9a4f5',
500: '#af7eef',
950: '#000000',
},
}SCSS
$custom: #af7eef; $custom-light: #c9a4f5; $custom-dark: #000000;
JSON
{
"hex": "#af7eef",
"rgb": {
"r": 175,
"g": 126,
"b": 239
},
"hsl": {
"h": 266.018,
"s": 77.931,
"l": 71.569
},
"oklch": {
"l": 0.68832,
"c": 0.16625,
"h": 302.3
},
"luminance": 0.30268
}Semantic roles & 50–950 ramp
primary
#AF7EEF
secondary
#E6F3D6
accent
#DA0B80
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85