#A27FFD#A27FFD
#A27FFD is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.180 H 293.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A27FFD |
|---|---|
| RGB | rgb(162, 127, 253) |
| HSL | hsl(257, 97%, 75%) |
| HSV | hsv(257, 50%, 99%) |
| CMYK | cmyk(36%, 49.8%, 0%, 0.8%) |
| CIE-LAB | lab(61.61, 40.83, -58.34) |
| CIE-LCH | lch(61.61, 71.21, 304.98°) |
| OKLab | oklab(68.58% 0.0732 -0.165) |
| OKLCH | oklch(68.58% 0.18 293.9) |
| XYZ | xyz(40.2147, 29.9511, 96.5718) |
| Luminance | 0.2995 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.13
Light Urple
#B36FF6
ΔE00 5.52
Lavender Blue
#8B88F8
ΔE00 5.69
Light Purple
#BF77F6
ΔE00 6.36
Mediumpurple
#9370DB
ΔE00 6.55
Easter Purple
#C071FE
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A27FFD #DAFD7F
analogous
#7F9BFD #A27FFD #E17FFD
triadic
#A27FFD #FDA27F #7FFDA2
tetradic
#A27FFD #FD7F9B #DAFD7F #7FFDE1
square
#A27FFD #FD7F9B #DAFD7F #7FFDE1
split-complementary
#A27FFD #FDE17F #9BFD7F
monochromatic
#4A06FB #7643FC #A27FFD #CEBBFE #E9E1FF
Accessibility & contrast
On white
3.00
#A27FFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#A27FFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A27FFD
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A27FFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A27FFD | 1.00 | 3.00 | 6.99 | 6.99 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#5593FA
Tritanopia (blue-blind)
#8C98B2
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a27ffd; /* rgb */ color: rgb(162, 127, 253); /* oklch */ color: oklch(68.6% 0.180 293.9);
Tailwind
colors: {
custom: {
50: '#c1a5ff',
500: '#a27ffd',
950: '#000000',
},
}SCSS
$custom: #a27ffd; $custom-light: #c1a5ff; $custom-dark: #000000;
JSON
{
"hex": "#a27ffd",
"rgb": {
"r": 162,
"g": 127,
"b": 253
},
"hsl": {
"h": 256.667,
"s": 96.923,
"l": 74.51
},
"oklch": {
"l": 0.68579,
"c": 0.18047,
"h": 293.9
},
"luminance": 0.29952
}Semantic roles & 50–950 ramp
primary
#A27FFD
secondary
#EDF7D4
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86