#A27FF2#A27FF2
#A27FF2 is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.9% C 0.166 H 295.7°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A27FF2 |
|---|---|
| RGB | rgb(162, 127, 242) |
| HSL | hsl(258, 82%, 72%) |
| HSV | hsv(258, 48%, 95%) |
| CMYK | cmyk(33.1%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(61.02, 38.01, -53.23) |
| CIE-LCH | lch(61.02, 65.41, 305.53°) |
| OKLab | oklab(67.94% 0.0721 -0.15) |
| OKLCH | oklch(67.94% 0.166 295.7) |
| XYZ | xyz(38.5127, 29.2703, 87.6079) |
| Luminance | 0.2927 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.88
Light Urple
#B36FF6
ΔE00 5.25
Mediumpurple
#9370DB
ΔE00 5.58
Light Purple
#BF77F6
ΔE00 5.96
Lavender Blue
#8B88F8
ΔE00 6.12
Perrywinkle
#8F8CE7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A27FF2 #CFF27F
analogous
#7F96F2 #A27FF2 #DC7FF2
triadic
#A27FF2 #F2A27F #7FF2A2
tetradic
#A27FF2 #F27F96 #CFF27F #7FF2DC
square
#A27FF2 #F27F96 #CFF27F #7FF2DC
split-complementary
#A27FF2 #F2DC7F #96F27F
monochromatic
#5417E0 #7A47EC #A27FF2 #CAB7F8 #EBE3FC
Accessibility & contrast
On white
3.06
#A27FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#A27FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A27FF2
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A27FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A27FF2 | 1.00 | 3.06 | 6.85 | 6.85 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#5E92EF
Tritanopia (blue-blind)
#9095AD
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a27ff2; /* rgb */ color: rgb(162, 127, 242); /* oklch */ color: oklch(67.9% 0.166 295.7);
Tailwind
colors: {
custom: {
50: '#c1a5f7',
500: '#a27ff2',
950: '#000000',
},
}SCSS
$custom: #a27ff2; $custom-light: #c1a5f7; $custom-dark: #000000;
JSON
{
"hex": "#a27ff2",
"rgb": {
"r": 162,
"g": 127,
"b": 242
},
"hsl": {
"h": 258.261,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.67944,
"c": 0.16644,
"h": 295.7
},
"luminance": 0.29271
}Semantic roles & 50–950 ramp
primary
#A27FF2
secondary
#EBF4D7
accent
#DE089D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85