#AF7DF3#AF7DF3
#AF7DF3 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.173 H 301.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7DF3 |
|---|---|
| RGB | rgb(175, 125, 243) |
| HSL | hsl(265, 83%, 72%) |
| HSV | hsv(265, 49%, 95%) |
| CMYK | cmyk(28%, 48.6%, 0%, 4.7%) |
| CIE-LAB | lab(61.87, 42.71, -52.35) |
| CIE-LCH | lch(61.87, 67.56, 309.21°) |
| OKLab | oklab(68.89% 0.0905 -0.1471) |
| OKLCH | oklch(68.89% 0.173 301.6) |
| XYZ | xyz(41.1868, 30.2522, 88.4460) |
| Luminance | 0.3025 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.31
Light Urple
#B36FF6
ΔE00 3.51
Easter Purple
#C071FE
ΔE00 4.14
Liliac
#C48EFD
ΔE00 5.43
Mediumpurple
#9370DB
ΔE00 6.60
Bright Lavender
#C760FF
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7DF3 #C1F37D
analogous
#7D86F3 #AF7DF3 #EA7DF3
triadic
#AF7DF3 #F3AF7D #7DF3AF
tetradic
#AF7DF3 #F37D86 #C1F37D #7DF3EA
square
#AF7DF3 #F37D86 #C1F37D #7DF3EA
split-complementary
#AF7DF3 #F3EA7D #86F37D
monochromatic
#6B15E1 #8D45EE #AF7DF3 #D1B5F8 #EEE3FC
Accessibility & contrast
On white
2.98
#AF7DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#AF7DF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF7DF3
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7DF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7DF3 | 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)
#5895F7
Deuteranopia (green-blind)
#6595F0
Tritanopia (blue-blind)
#A292AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #af7df3; /* rgb */ color: rgb(175, 125, 243); /* oklch */ color: oklch(68.9% 0.173 301.6);
Tailwind
colors: {
custom: {
50: '#caa4f7',
500: '#af7df3',
950: '#000000',
},
}SCSS
$custom: #af7df3; $custom-light: #caa4f7; $custom-dark: #000000;
JSON
{
"hex": "#af7df3",
"rgb": {
"r": 175,
"g": 125,
"b": 243
},
"hsl": {
"h": 265.424,
"s": 83.099,
"l": 72.157
},
"oklch": {
"l": 0.68889,
"c": 0.17271,
"h": 301.6
},
"luminance": 0.30252
}Semantic roles & 50–950 ramp
primary
#AF7DF3
secondary
#E8F4D7
accent
#E00683
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85