#A27EFF#A27EFF
#A27EFF is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.184 H 293.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A27EFF |
|---|---|
| RGB | rgb(162, 126, 255) |
| HSL | hsl(257, 100%, 75%) |
| HSV | hsv(257, 51%, 100%) |
| CMYK | cmyk(36.5%, 50.6%, 0%, 0%) |
| CIE-LAB | lab(61.50, 41.91, -59.62) |
| CIE-LCH | lch(61.50, 72.87, 305.10°) |
| OKLab | oklab(68.53% 0.0745 -0.1687) |
| OKLCH | oklch(68.53% 0.184 293.8) |
| XYZ | xyz(40.4064, 29.8222, 98.2157) |
| Luminance | 0.2982 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.16
Light Urple
#B36FF6
ΔE00 5.41
Lavender Blue
#8B88F8
ΔE00 5.84
Light Purple
#BF77F6
ΔE00 6.37
Easter Purple
#C071FE
ΔE00 6.45
Mediumpurple
#9370DB
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A27EFF #DBFF7E
analogous
#7E9BFF #A27EFF #E27EFF
triadic
#A27EFF #FFA27E #7EFFA2
tetradic
#A27EFF #FF7E9B #DBFF7E #7EFFE2
square
#A27EFF #FF7E9B #DBFF7E #7EFFE2
split-complementary
#A27EFF #FFE27E #9BFF7E
monochromatic
#4A04FF #7641FF #A27EFF #CEBBFF #E9E0FF
Accessibility & contrast
On white
3.02
#A27EFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#A27EFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A27EFF
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A27EFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A27EFF | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#5292FC
Tritanopia (blue-blind)
#8B98B3
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a27eff; /* rgb */ color: rgb(162, 126, 255); /* oklch */ color: oklch(68.5% 0.184 293.8);
Tailwind
colors: {
custom: {
50: '#c2a4ff',
500: '#a27eff',
950: '#000000',
},
}SCSS
$custom: #a27eff; $custom-light: #c2a4ff; $custom-dark: #000000;
JSON
{
"hex": "#a27eff",
"rgb": {
"r": 162,
"g": 126,
"b": 255
},
"hsl": {
"h": 256.744,
"s": 100,
"l": 74.706
},
"oklch": {
"l": 0.68532,
"c": 0.18446,
"h": 293.8
},
"luminance": 0.29823
}Semantic roles & 50–950 ramp
primary
#A27EFF
secondary
#EDF7D4
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86