#AF73F6#AF73F6
#AF73F6 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.191 H 302.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF73F6 |
|---|---|
| RGB | rgb(175, 115, 246) |
| HSL | hsl(267, 88%, 71%) |
| HSV | hsv(267, 53%, 96%) |
| CMYK | cmyk(28.9%, 53.3%, 0%, 3.5%) |
| CIE-LAB | lab(59.92, 48.84, -57.12) |
| CIE-LCH | lch(59.92, 75.16, 310.53°) |
| OKLab | oklab(67.49% 0.1036 -0.161) |
| OKLCH | oklch(67.49% 0.191 302.7) |
| XYZ | xyz(40.4407, 28.0293, 90.4506) |
| Luminance | 0.2803 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.18
Easter Purple
#C071FE
ΔE00 2.98
Light Purple
#BF77F6
ΔE00 3.21
Bright Lavender
#C760FF
ΔE00 5.21
Bright Lilac
#C95EFB
ΔE00 5.71
Mediumpurple
#9370DB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF73F6 #BAF673
analogous
#7378F6 #AF73F6 #F073F6
triadic
#AF73F6 #F6AF73 #73F6AF
tetradic
#AF73F6 #F67378 #BAF673 #73F6F0
square
#AF73F6 #F67378 #BAF673 #73F6F0
split-complementary
#AF73F6 #F6F073 #78F673
monochromatic
#6E0EE0 #8E39F2 #AF73F6 #D0ADFA #EFE2FD
Accessibility & contrast
On white
3.18
#AF73F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#AF73F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF73F6
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF73F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF73F6 | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#A28CAA
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #af73f6; /* rgb */ color: rgb(175, 115, 246); /* oklch */ color: oklch(67.5% 0.191 302.7);
Tailwind
colors: {
custom: {
50: '#ca9dfa',
500: '#af73f6',
950: '#000000',
},
}SCSS
$custom: #af73f6; $custom-light: #ca9dfa; $custom-dark: #000000;
JSON
{
"hex": "#af73f6",
"rgb": {
"r": 175,
"g": 115,
"b": 246
},
"hsl": {
"h": 267.481,
"s": 87.919,
"l": 70.784
},
"oklch": {
"l": 0.67489,
"c": 0.19146,
"h": 302.7
},
"luminance": 0.28029
}Semantic roles & 50–950 ramp
primary
#AF73F6
secondary
#E4F4D1
accent
#E4017C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85