#AF80F2#AF80F2
#AF80F2 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.3% C 0.167 H 301.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AF80F2 |
|---|---|
| RGB | rgb(175, 128, 242) |
| HSL | hsl(265, 81%, 73%) |
| HSV | hsv(265, 47%, 95%) |
| CMYK | cmyk(27.7%, 47.1%, 0%, 5.1%) |
| CIE-LAB | lab(62.48, 40.82, -50.84) |
| CIE-LCH | lch(62.48, 65.20, 308.76°) |
| OKLab | oklab(69.32% 0.0864 -0.1427) |
| OKLCH | oklch(69.32% 0.167 301.2) |
| XYZ | xyz(41.4217, 30.9630, 87.7814) |
| Luminance | 0.3096 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.74
Light Urple
#B36FF6
ΔE00 4.31
Easter Purple
#C071FE
ΔE00 4.75
Liliac
#C48EFD
ΔE00 4.91
Mediumpurple
#9370DB
ΔE00 6.94
Periwinkle (survey)
#8E82FE
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF80F2 #C3F280
analogous
#808AF2 #AF80F2 #E880F2
triadic
#AF80F2 #F2AF80 #80F2AF
tetradic
#AF80F2 #F2808A #C3F280 #80F2E8
square
#AF80F2 #F2808A #C3F280 #80F2E8
split-complementary
#AF80F2 #F2E880 #8AF280
monochromatic
#6A17E1 #8C48EC #AF80F2 #D2B8F8 #EEE3FC
Accessibility & contrast
On white
2.92
#AF80F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#AF80F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF80F2
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF80F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF80F2 | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#A295AE
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #af80f2; /* rgb */ color: rgb(175, 128, 242); /* oklch */ color: oklch(69.3% 0.167 301.2);
Tailwind
colors: {
custom: {
50: '#c9a6f7',
500: '#af80f2',
950: '#000000',
},
}SCSS
$custom: #af80f2; $custom-light: #c9a6f7; $custom-dark: #000000;
JSON
{
"hex": "#af80f2",
"rgb": {
"r": 175,
"g": 128,
"b": 242
},
"hsl": {
"h": 264.737,
"s": 81.429,
"l": 72.549
},
"oklch": {
"l": 0.69324,
"c": 0.16683,
"h": 301.2
},
"luminance": 0.30963
}Semantic roles & 50–950 ramp
primary
#AF80F2
secondary
#E8F4D7
accent
#DE0886
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85