#AE40FF#AE40FF
#AE40FF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.7% C 0.265 H 306.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AE40FF |
|---|---|
| RGB | rgb(174, 64, 255) |
| HSL | hsl(275, 100%, 63%) |
| HSV | hsv(275, 75%, 100%) |
| CMYK | cmyk(31.8%, 74.9%, 0%, 0%) |
| CIE-LAB | lab(51.71, 74.34, -75.35) |
| CIE-LCH | lch(51.71, 105.84, 314.61°) |
| OKLab | oklab(61.72% 0.1561 -0.2144) |
| OKLCH | oklch(61.72% 0.265 306.1) |
| XYZ | xyz(37.3350, 19.8858, 96.4598) |
| Luminance | 0.1988 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Neon Purple
#BC13FE
ΔE00 3.76
Lightish Purple
#A552E6
ΔE00 3.77
Electric Purple
#AA23FF
ΔE00 3.88
Bright Purple
#BE03FD
ΔE00 4.26
Lighter Purple
#A55AF4
ΔE00 4.28
Bright Violet
#AD0AFD
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE40FF #91FF40
analogous
#4E40FF #AE40FF #FF40F0
triadic
#AE40FF #FFAE40 #40FFAE
tetradic
#AE40FF #FF4E40 #91FF40 #40F0FF
square
#AE40FF #FF4E40 #91FF40 #40F0FF
split-complementary
#AE40FF #F0FF40 #40FF4E
monochromatic
#7100C5 #9403FF #AE40FF #C87DFF #E2BAFF
Accessibility & contrast
On white
4.22
#AE40FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#AE40FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AE40FF
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE40FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AE40FF | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#007CFB
Tritanopia (blue-blind)
#9F709E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #ae40ff; /* rgb */ color: rgb(174, 64, 255); /* oklch */ color: oklch(61.7% 0.265 306.1);
Tailwind
colors: {
custom: {
50: '#cc80ff',
500: '#ae40ff',
950: '#000000',
},
}SCSS
$custom: #ae40ff; $custom-light: #cc80ff; $custom-dark: #000000;
JSON
{
"hex": "#ae40ff",
"rgb": {
"r": 174,
"g": 64,
"b": 255
},
"hsl": {
"h": 274.555,
"s": 100,
"l": 62.549
},
"oklch": {
"l": 0.61724,
"c": 0.26516,
"h": 306.1
},
"luminance": 0.19885
}Semantic roles & 50–950 ramp
primary
#AE40FF
secondary
#C8F0AB
accent
#E60061
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B18
muted
#837C86