#A27DF2#A27DF2
#A27DF2 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.6% C 0.169 H 296.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A27DF2 |
|---|---|
| RGB | rgb(162, 125, 242) |
| HSL | hsl(259, 82%, 72%) |
| HSV | hsv(259, 48%, 95%) |
| CMYK | cmyk(33.1%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(60.57, 39.13, -53.94) |
| CIE-LCH | lch(60.57, 66.65, 305.96°) |
| OKLab | oklab(67.61% 0.0747 -0.1521) |
| OKLCH | oklch(67.61% 0.169 296.2) |
| XYZ | xyz(38.2569, 28.7589, 87.5226) |
| Luminance | 0.2876 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.81
Periwinkle (survey)
#8E82FE
ΔE00 5.07
Mediumpurple
#9370DB
ΔE00 5.23
Light Purple
#BF77F6
ΔE00 5.74
Easter Purple
#C071FE
ΔE00 6.18
Lavender Blue
#8B88F8
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A27DF2 #CDF27D
analogous
#7D93F2 #A27DF2 #DC7DF2
triadic
#A27DF2 #F2A27D #7DF2A2
tetradic
#A27DF2 #F27D93 #CDF27D #7DF2DC
square
#A27DF2 #F27D93 #CDF27D #7DF2DC
split-complementary
#A27DF2 #F2DC7D #93F27D
monochromatic
#5616DE #7A45EC #A27DF2 #CAB5F8 #EBE3FC
Accessibility & contrast
On white
3.11
#A27DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#A27DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A27DF2
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A27DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A27DF2 | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#9093AC
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a27df2; /* rgb */ color: rgb(162, 125, 242); /* oklch */ color: oklch(67.6% 0.169 296.2);
Tailwind
colors: {
custom: {
50: '#c1a3f7',
500: '#a27df2',
950: '#000000',
},
}SCSS
$custom: #a27df2; $custom-light: #c1a3f7; $custom-dark: #000000;
JSON
{
"hex": "#a27df2",
"rgb": {
"r": 162,
"g": 125,
"b": 242
},
"hsl": {
"h": 258.974,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.67607,
"c": 0.16945,
"h": 296.2
},
"luminance": 0.28759
}Semantic roles & 50–950 ramp
primary
#A27DF2
secondary
#EBF4D7
accent
#DE079A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85