#AF79DC#AF79DC
#AF79DC is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.151 H 308.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF79DC |
|---|---|
| RGB | rgb(175, 121, 220) |
| HSL | hsl(273, 59%, 67%) |
| HSV | hsv(273, 45%, 86%) |
| CMYK | cmyk(20.5%, 45%, 0%, 13.7%) |
| CIE-LAB | lab(59.85, 39.56, -42.76) |
| CIE-LCH | lch(59.85, 58.25, 312.78°) |
| OKLab | oklab(67% 0.093 -0.1192) |
| OKLCH | oklch(67% 0.151 308) |
| XYZ | xyz(37.4323, 27.9564, 71.1204) |
| Luminance | 0.2796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.42
Light Urple
#B36FF6
ΔE00 4.87
Wisteria
#A87DC2
ΔE00 5.33
Easter Purple
#C071FE
ΔE00 5.70
Mediumpurple
#9370DB
ΔE00 6.32
Deep Lilac
#966EBD
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF79DC #A6DC79
analogous
#7E79DC #AF79DC #DC79D8
triadic
#AF79DC #DCAF79 #79DCAF
tetradic
#AF79DC #DC7E79 #A6DC79 #79D8DC
square
#AF79DC #DC7E79 #A6DC79 #79D8DC
split-complementary
#AF79DC #D8DC79 #79DC7E
monochromatic
#732DAD #9248CF #AF79DC #CCAAE9 #E9DAF5
Accessibility & contrast
On white
3.19
#AF79DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#AF79DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF79DC
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF79DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF79DC | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#A989A0
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #af79dc; /* rgb */ color: rgb(175, 121, 220); /* oklch */ color: oklch(67.0% 0.151 308.0);
Tailwind
colors: {
custom: {
50: '#c9a1e7',
500: '#af79dc',
950: '#000000',
},
}SCSS
$custom: #af79dc; $custom-light: #c9a1e7; $custom-dark: #000000;
JSON
{
"hex": "#af79dc",
"rgb": {
"r": 175,
"g": 121,
"b": 220
},
"hsl": {
"h": 272.727,
"s": 58.58,
"l": 66.863
},
"oklch": {
"l": 0.67004,
"c": 0.15117,
"h": 308
},
"luminance": 0.27956
}Semantic roles & 50–950 ramp
primary
#AF79DC
secondary
#D7E8C9
accent
#C61F6B
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84