#A27BEE#A27BEE
#A27BEE is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.167 H 297.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A27BEE |
|---|---|
| RGB | rgb(162, 123, 238) |
| HSL | hsl(260, 77%, 71%) |
| HSV | hsv(260, 48%, 93%) |
| CMYK | cmyk(31.9%, 48.3%, 0%, 6.7%) |
| CIE-LAB | lab(59.91, 39.25, -52.78) |
| CIE-LCH | lch(59.91, 65.77, 306.64°) |
| OKLab | oklab(67.04% 0.0769 -0.1487) |
| OKLCH | oklch(67.04% 0.167 297.3) |
| XYZ | xyz(37.4121, 28.0199, 84.3097) |
| Luminance | 0.2802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.42
Mediumpurple
#9370DB
ΔE00 4.59
Light Purple
#BF77F6
ΔE00 5.52
Periwinkle (survey)
#8E82FE
ΔE00 5.67
Easter Purple
#C071FE
ΔE00 5.98
Lavender Blue
#8B88F8
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A27BEE #C7EE7B
analogous
#7B8DEE #A27BEE #DB7BEE
triadic
#A27BEE #EEA27B #7BEEA2
tetradic
#A27BEE #EE7B8D #C7EE7B #7BEEDB
square
#A27BEE #EE7B8D #C7EE7B #7BEEDB
split-complementary
#A27BEE #EEDB7B #8DEE7B
monochromatic
#5A1BD3 #7C45E7 #A27BEE #C8B1F5 #ECE4FC
Accessibility & contrast
On white
3.18
#A27BEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#A27BEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A27BEE
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A27BEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A27BEE | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#9291A9
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a27bee; /* rgb */ color: rgb(162, 123, 238); /* oklch */ color: oklch(67.0% 0.167 297.3);
Tailwind
colors: {
custom: {
50: '#c1a2f4',
500: '#a27bee',
950: '#000000',
},
}SCSS
$custom: #a27bee; $custom-light: #c1a2f4; $custom-dark: #000000;
JSON
{
"hex": "#a27bee",
"rgb": {
"r": 162,
"g": 123,
"b": 238
},
"hsl": {
"h": 260.348,
"s": 77.181,
"l": 70.784
},
"oklch": {
"l": 0.67043,
"c": 0.16739,
"h": 297.3
},
"luminance": 0.2802
}Semantic roles & 50–950 ramp
primary
#A27BEE
secondary
#E7F2D3
accent
#D90C94
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85