#AF6AEF#AF6AEF
#AF6AEF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.7% C 0.197 H 305.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6AEF |
|---|---|
| RGB | rgb(175, 106, 239) |
| HSL | hsl(271, 81%, 68%) |
| HSV | hsv(271, 56%, 94%) |
| CMYK | cmyk(26.8%, 55.6%, 0%, 6.3%) |
| CIE-LAB | lab(57.71, 51.96, -56.76) |
| CIE-LCH | lch(57.71, 76.95, 312.47°) |
| OKLab | oklab(65.74% 0.1146 -0.16) |
| OKLCH | oklch(65.74% 0.197 305.6) |
| XYZ | xyz(38.4099, 25.6543, 84.5729) |
| Luminance | 0.2565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.68
Easter Purple
#C071FE
ΔE00 3.80
Bright Lavender
#C760FF
ΔE00 4.30
Light Purple
#BF77F6
ΔE00 4.35
Lighter Purple
#A55AF4
ΔE00 4.39
Bright Lilac
#C95EFB
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6AEF #AAEF6A
analogous
#6D6AEF #AF6AEF #EF6AEC
triadic
#AF6AEF #EFAF6A #6AEFAF
tetradic
#AF6AEF #EF6D6A #AAEF6A #6AECEF
square
#AF6AEF #EF6D6A #AAEF6A #6AECEF
split-complementary
#AF6AEF #ECEF6A #6AEF6D
monochromatic
#7316C9 #9133E9 #AF6AEF #CDA1F5 #EAD9FB
Accessibility & contrast
On white
3.43
#AF6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#AF6AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6AEF
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6AEF | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#A483A3
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #af6aef; /* rgb */ color: rgb(175, 106, 239); /* oklch */ color: oklch(65.7% 0.197 305.6);
Tailwind
colors: {
custom: {
50: '#ca97f5',
500: '#af6aef',
950: '#000000',
},
}SCSS
$custom: #af6aef; $custom-light: #ca97f5; $custom-dark: #000000;
JSON
{
"hex": "#af6aef",
"rgb": {
"r": 175,
"g": 106,
"b": 239
},
"hsl": {
"h": 271.128,
"s": 80.606,
"l": 67.647
},
"oklch": {
"l": 0.65737,
"c": 0.19676,
"h": 305.6
},
"luminance": 0.25654
}Semantic roles & 50–950 ramp
primary
#AF6AEF
secondary
#DAEFC6
accent
#DD096F
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85