#AF79FC#AF79FC
#AF79FC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.190 H 300.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AF79FC |
|---|---|
| RGB | rgb(175, 121, 252) |
| HSL | hsl(265, 96%, 73%) |
| HSV | hsv(265, 52%, 99%) |
| CMYK | cmyk(30.6%, 52%, 0%, 1.2%) |
| CIE-LAB | lab(61.50, 47.06, -57.91) |
| CIE-LCH | lch(61.50, 74.62, 309.10°) |
| OKLab | oklab(68.77% 0.0963 -0.1633) |
| OKLCH | oklch(68.77% 0.19 300.5) |
| XYZ | xyz(42.0831, 29.8168, 95.6147) |
| Luminance | 0.2982 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.74
Light Purple
#BF77F6
ΔE00 3.46
Easter Purple
#C071FE
ΔE00 3.49
Bright Lavender
#C760FF
ΔE00 6.33
Liliac
#C48EFD
ΔE00 6.36
Mediumpurple
#9370DB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF79FC #C6FC79
analogous
#7984FC #AF79FC #F079FC
triadic
#AF79FC #FCAF79 #79FCAF
tetradic
#AF79FC #FC7984 #C6FC79 #79FCF0
square
#AF79FC #FC7984 #C6FC79 #79FCF0
split-complementary
#AF79FC #FCF079 #84FC79
monochromatic
#6805F5 #8B3DFB #AF79FC #D3B5FD #EDE1FE
Accessibility & contrast
On white
3.02
#AF79FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#AF79FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF79FC
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF79FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF79FC | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#A092AF
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #af79fc; /* rgb */ color: rgb(175, 121, 252); /* oklch */ color: oklch(68.8% 0.190 300.5);
Tailwind
colors: {
custom: {
50: '#caa1fe',
500: '#af79fc',
950: '#000000',
},
}SCSS
$custom: #af79fc; $custom-light: #caa1fe; $custom-dark: #000000;
JSON
{
"hex": "#af79fc",
"rgb": {
"r": 175,
"g": 121,
"b": 252
},
"hsl": {
"h": 264.733,
"s": 95.62,
"l": 73.137
},
"oklch": {
"l": 0.68765,
"c": 0.18964,
"h": 300.5
},
"luminance": 0.29817
}Semantic roles & 50–950 ramp
primary
#AF79FC
secondary
#E8F7D4
accent
#E60087
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86