#AF79FB#AF79FB
#AF79FB is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.188 H 300.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AF79FB |
|---|---|
| RGB | rgb(175, 121, 251) |
| HSL | hsl(265, 94%, 73%) |
| HSV | hsv(265, 52%, 98%) |
| CMYK | cmyk(30.3%, 51.8%, 0%, 1.6%) |
| CIE-LAB | lab(61.44, 46.81, -57.45) |
| CIE-LCH | lch(61.44, 74.11, 309.18°) |
| OKLab | oklab(68.71% 0.0963 -0.162) |
| OKLCH | oklch(68.71% 0.188 300.7) |
| XYZ | xyz(41.9251, 29.7535, 94.7823) |
| Luminance | 0.2975 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.68
Light Purple
#BF77F6
ΔE00 3.38
Easter Purple
#C071FE
ΔE00 3.47
Bright Lavender
#C760FF
ΔE00 6.32
Liliac
#C48EFD
ΔE00 6.33
Mediumpurple
#9370DB
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF79FB #C5FB79
analogous
#7984FB #AF79FB #F079FB
triadic
#AF79FB #FBAF79 #79FBAF
tetradic
#AF79FB #FB7984 #C5FB79 #79FBF0
square
#AF79FB #FB7984 #C5FB79 #79FBF0
split-complementary
#AF79FB #FBF079 #84FB79
monochromatic
#6907F2 #8C3EF9 #AF79FB #D2B4FD #EDE1FE
Accessibility & contrast
On white
3.02
#AF79FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#AF79FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF79FB
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF79FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF79FB | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5A94F8
Tritanopia (blue-blind)
#A092AF
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #af79fb; /* rgb */ color: rgb(175, 121, 251); /* oklch */ color: oklch(68.7% 0.188 300.7);
Tailwind
colors: {
custom: {
50: '#caa1fd',
500: '#af79fb',
950: '#000000',
},
}SCSS
$custom: #af79fb; $custom-light: #caa1fd; $custom-dark: #000000;
JSON
{
"hex": "#af79fb",
"rgb": {
"r": 175,
"g": 121,
"b": 251
},
"hsl": {
"h": 264.923,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.68707,
"c": 0.18845,
"h": 300.7
},
"luminance": 0.29754
}Semantic roles & 50–950 ramp
primary
#AF79FB
secondary
#E8F6D5
accent
#E60086
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86