#A27DFD#A27DFD
#A27DFD is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.183 H 294.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A27DFD |
|---|---|
| RGB | rgb(162, 125, 253) |
| HSL | hsl(257, 97%, 74%) |
| HSV | hsv(257, 51%, 99%) |
| CMYK | cmyk(36%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(61.17, 41.95, -59.05) |
| CIE-LCH | lch(61.17, 72.44, 305.39°) |
| OKLab | oklab(68.25% 0.0756 -0.1671) |
| OKLCH | oklch(68.25% 0.183 294.4) |
| XYZ | xyz(39.9589, 29.4397, 96.4866) |
| Luminance | 0.2944 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.35
Light Urple
#B36FF6
ΔE00 5.11
Lavender Blue
#8B88F8
ΔE00 6.03
Light Purple
#BF77F6
ΔE00 6.17
Easter Purple
#C071FE
ΔE00 6.25
Mediumpurple
#9370DB
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A27DFD #D8FD7D
analogous
#7D98FD #A27DFD #E27DFD
triadic
#A27DFD #FDA27D #7DFDA2
tetradic
#A27DFD #FD7D98 #D8FD7D #7DFDE2
square
#A27DFD #FD7D98 #D8FD7D #7DFDE2
split-complementary
#A27DFD #FDE27D #98FD7D
monochromatic
#4C04FB #7741FC #A27DFD #CDB9FE #E9E1FF
Accessibility & contrast
On white
3.05
#A27DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#A27DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A27DFD
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A27DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A27DFD | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#5292FA
Tritanopia (blue-blind)
#8C97B1
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a27dfd; /* rgb */ color: rgb(162, 125, 253); /* oklch */ color: oklch(68.2% 0.183 294.4);
Tailwind
colors: {
custom: {
50: '#c2a3ff',
500: '#a27dfd',
950: '#000000',
},
}SCSS
$custom: #a27dfd; $custom-light: #c2a3ff; $custom-dark: #000000;
JSON
{
"hex": "#a27dfd",
"rgb": {
"r": 162,
"g": 125,
"b": 253
},
"hsl": {
"h": 257.344,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.68248,
"c": 0.18338,
"h": 294.4
},
"luminance": 0.2944
}Semantic roles & 50–950 ramp
primary
#A27DFD
secondary
#EDF7D4
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86