#AF6EF7#AF6EF7
#AF6EF7 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.8% C 0.200 H 303.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6EF7 |
|---|---|
| RGB | rgb(175, 110, 247) |
| HSL | hsl(268, 90%, 70%) |
| HSV | hsv(268, 55%, 97%) |
| CMYK | cmyk(29.1%, 55.5%, 0%, 3.1%) |
| CIE-LAB | lab(58.96, 51.73, -59.21) |
| CIE-LCH | lch(58.96, 78.62, 311.14°) |
| OKLab | oklab(66.8% 0.1098 -0.1671) |
| OKLCH | oklch(66.8% 0.2 303.3) |
| XYZ | xyz(40.0399, 26.9813, 91.0762) |
| Luminance | 0.2698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.85
Easter Purple
#C071FE
ΔE00 3.12
Light Purple
#BF77F6
ΔE00 3.81
Bright Lavender
#C760FF
ΔE00 4.52
Bright Lilac
#C95EFB
ΔE00 5.03
Lighter Purple
#A55AF4
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6EF7 #B6F76E
analogous
#6E72F7 #AF6EF7 #F36EF7
triadic
#AF6EF7 #F7AF6E #6EF7AF
tetradic
#AF6EF7 #F76E72 #B6F76E #6EF7F3
square
#AF6EF7 #F76E72 #B6F76E #6EF7F3
split-complementary
#AF6EF7 #F7F36E #72F76E
monochromatic
#700CDE #8F34F4 #AF6EF7 #CFA8FA #EFE2FD
Accessibility & contrast
On white
3.28
#AF6EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#AF6EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6EF7
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6EF7 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#378CFC
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#A289A8
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #af6ef7; /* rgb */ color: rgb(175, 110, 247); /* oklch */ color: oklch(66.8% 0.200 303.3);
Tailwind
colors: {
custom: {
50: '#ca9afa',
500: '#af6ef7',
950: '#000000',
},
}SCSS
$custom: #af6ef7; $custom-light: #ca9afa; $custom-dark: #000000;
JSON
{
"hex": "#af6ef7",
"rgb": {
"r": 175,
"g": 110,
"b": 247
},
"hsl": {
"h": 268.467,
"s": 89.542,
"l": 70
},
"oklch": {
"l": 0.66802,
"c": 0.19999,
"h": 303.3
},
"luminance": 0.26981
}Semantic roles & 50–950 ramp
primary
#AF6EF7
secondary
#E1F4CD
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85