#AF6EF2#AF6EF2
#AF6EF2 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.5% C 0.194 H 304.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6EF2 |
|---|---|
| RGB | rgb(175, 110, 242) |
| HSL | hsl(270, 84%, 69%) |
| HSV | hsv(270, 55%, 95%) |
| CMYK | cmyk(27.7%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(58.67, 50.56, -56.89) |
| CIE-LCH | lch(58.67, 76.11, 311.63°) |
| OKLab | oklab(66.5% 0.1097 -0.1603) |
| OKLCH | oklch(66.5% 0.194 304.4) |
| XYZ | xyz(39.2786, 26.6768, 87.0670) |
| Luminance | 0.2668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.86
Easter Purple
#C071FE
ΔE00 3.24
Light Purple
#BF77F6
ΔE00 3.69
Bright Lavender
#C760FF
ΔE00 4.56
Bright Lilac
#C95EFB
ΔE00 4.97
Lighter Purple
#A55AF4
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6EF2 #B1F26E
analogous
#6E6FF2 #AF6EF2 #F16EF2
triadic
#AF6EF2 #F2AF6E #6EF2AF
tetradic
#AF6EF2 #F26E6F #B1F26E #6EF2F1
square
#AF6EF2 #F26E6F #B1F26E #6EF2F1
split-complementary
#AF6EF2 #F2F16E #6FF26E
monochromatic
#7113D3 #9036ED #AF6EF2 #CEA6F7 #EDDEFC
Accessibility & contrast
On white
3.31
#AF6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#AF6EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6EF2
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6EF2 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8BF6
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#A387A6
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #af6ef2; /* rgb */ color: rgb(175, 110, 242); /* oklch */ color: oklch(66.5% 0.194 304.4);
Tailwind
colors: {
custom: {
50: '#ca9af7',
500: '#af6ef2',
950: '#000000',
},
}SCSS
$custom: #af6ef2; $custom-light: #ca9af7; $custom-dark: #000000;
JSON
{
"hex": "#af6ef2",
"rgb": {
"r": 175,
"g": 110,
"b": 242
},
"hsl": {
"h": 269.545,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.66502,
"c": 0.19425,
"h": 304.4
},
"luminance": 0.26677
}Semantic roles & 50–950 ramp
primary
#AF6EF2
secondary
#DEF1CB
accent
#E00674
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85