#AA6CF2#AA6CF2
#AA6CF2 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.7% C 0.196 H 302.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AA6CF2 |
|---|---|
| RGB | rgb(170, 108, 242) |
| HSL | hsl(268, 84%, 69%) |
| HSV | hsv(268, 55%, 95%) |
| CMYK | cmyk(29.8%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(57.73, 50.41, -58.42) |
| CIE-LCH | lch(57.73, 77.16, 310.79°) |
| OKLab | oklab(65.69% 0.106 -0.165) |
| OKLCH | oklch(65.69% 0.196 302.7) |
| XYZ | xyz(37.9635, 25.6820, 86.9443) |
| Luminance | 0.2568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.83
Easter Purple
#C071FE
ΔE00 4.20
Lighter Purple
#A55AF4
ΔE00 4.35
Light Purple
#BF77F6
ΔE00 4.76
Mediumpurple
#9370DB
ΔE00 5.11
Bright Lavender
#C760FF
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA6CF2 #B4F26C
analogous
#6C71F2 #AA6CF2 #ED6CF2
triadic
#AA6CF2 #F2AA6C #6CF2AA
tetradic
#AA6CF2 #F26C71 #B4F26C #6CF2ED
square
#AA6CF2 #F26C71 #B4F26C #6CF2ED
split-complementary
#AA6CF2 #F2ED6C #71F26C
monochromatic
#6B12D1 #8934ED #AA6CF2 #CBA4F7 #EBDCFC
Accessibility & contrast
On white
3.42
#AA6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#AA6CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA6CF2
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA6CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA6CF2 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#9C86A5
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #aa6cf2; /* rgb */ color: rgb(170, 108, 242); /* oklch */ color: oklch(65.7% 0.196 302.7);
Tailwind
colors: {
custom: {
50: '#c798f7',
500: '#aa6cf2',
950: '#000000',
},
}SCSS
$custom: #aa6cf2; $custom-light: #c798f7; $custom-dark: #000000;
JSON
{
"hex": "#aa6cf2",
"rgb": {
"r": 170,
"g": 108,
"b": 242
},
"hsl": {
"h": 267.761,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.6569,
"c": 0.19606,
"h": 302.7
},
"luminance": 0.25682
}Semantic roles & 50–950 ramp
primary
#AA6CF2
secondary
#DEF1C9
accent
#E0057B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85