#AF79E7#AF79E7
#AF79E7 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.164 H 305.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF79E7 |
|---|---|
| RGB | rgb(175, 121, 231) |
| HSL | hsl(269, 70%, 69%) |
| HSV | hsv(269, 48%, 91%) |
| CMYK | cmyk(24.2%, 47.6%, 0%, 9.4%) |
| CIE-LAB | lab(60.39, 42.08, -48.04) |
| CIE-LCH | lch(60.39, 63.87, 311.21°) |
| OKLab | oklab(67.58% 0.0945 -0.1345) |
| OKLCH | oklch(67.58% 0.164 305.1) |
| XYZ | xyz(38.9373, 28.5584, 79.0469) |
| Luminance | 0.2856 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.25
Light Urple
#B36FF6
ΔE00 3.36
Easter Purple
#C071FE
ΔE00 4.34
Mediumpurple
#9370DB
ΔE00 5.92
Liliac
#C48EFD
ΔE00 6.45
Bright Lavender
#C760FF
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF79E7 #B1E779
analogous
#797AE7 #AF79E7 #E679E7
triadic
#AF79E7 #E7AF79 #79E7AF
tetradic
#AF79E7 #E7797A #B1E779 #79E7E6
square
#AF79E7 #E7797A #B1E779 #79E7E6
split-complementary
#AF79E7 #E7E679 #7AE779
monochromatic
#7123C3 #9045DE #AF79E7 #CEADF0 #EDE1FA
Accessibility & contrast
On white
3.13
#AF79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#AF79E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF79E7
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF79E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF79E7 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#6992E4
Tritanopia (blue-blind)
#A68CA5
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #af79e7; /* rgb */ color: rgb(175, 121, 231); /* oklch */ color: oklch(67.6% 0.164 305.1);
Tailwind
colors: {
custom: {
50: '#c9a1ef',
500: '#af79e7',
950: '#000000',
},
}SCSS
$custom: #af79e7; $custom-light: #c9a1ef; $custom-dark: #000000;
JSON
{
"hex": "#af79e7",
"rgb": {
"r": 175,
"g": 121,
"b": 231
},
"hsl": {
"h": 269.455,
"s": 69.62,
"l": 69.02
},
"oklch": {
"l": 0.67585,
"c": 0.1644,
"h": 305.1
},
"luminance": 0.28558
}Semantic roles & 50–950 ramp
primary
#AF79E7
secondary
#DEEECE
accent
#D21474
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F16
muted
#827F84