#A27BFD#A27BFD
#A27BFD is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.9% C 0.186 H 294.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A27BFD |
|---|---|
| RGB | rgb(162, 123, 253) |
| HSL | hsl(258, 97%, 74%) |
| HSV | hsv(258, 51%, 99%) |
| CMYK | cmyk(36%, 51.4%, 0%, 0.8%) |
| CIE-LAB | lab(60.73, 43.06, -59.76) |
| CIE-LCH | lch(60.73, 73.66, 305.78°) |
| OKLab | oklab(67.92% 0.0781 -0.1691) |
| OKLCH | oklch(67.92% 0.186 294.8) |
| XYZ | xyz(39.7083, 28.9384, 96.4030) |
| Luminance | 0.2894 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.61
Light Urple
#B36FF6
ΔE00 4.73
Mediumpurple
#9370DB
ΔE00 5.99
Easter Purple
#C071FE
ΔE00 6.00
Light Purple
#BF77F6
ΔE00 6.02
Lavender Blue
#8B88F8
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A27BFD #D6FD7B
analogous
#7B95FD #A27BFD #E37BFD
triadic
#A27BFD #FDA27B #7BFDA2
tetradic
#A27BFD #FD7B95 #D6FD7B #7BFDE3
square
#A27BFD #FD7B95 #D6FD7B #7BFDE3
split-complementary
#A27BFD #FDE37B #95FD7B
monochromatic
#4E04FA #783FFC #A27BFD #CCB7FE #EAE1FF
Accessibility & contrast
On white
3.09
#A27BFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#A27BFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A27BFD
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A27BFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A27BFD | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#5090FA
Tritanopia (blue-blind)
#8C95B1
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a27bfd; /* rgb */ color: rgb(162, 123, 253); /* oklch */ color: oklch(67.9% 0.186 294.8);
Tailwind
colors: {
custom: {
50: '#c2a2ff',
500: '#a27bfd',
950: '#000000',
},
}SCSS
$custom: #a27bfd; $custom-light: #c2a2ff; $custom-dark: #000000;
JSON
{
"hex": "#a27bfd",
"rgb": {
"r": 162,
"g": 123,
"b": 253
},
"hsl": {
"h": 258,
"s": 97.015,
"l": 73.725
},
"oklch": {
"l": 0.6792,
"c": 0.18628,
"h": 294.8
},
"luminance": 0.28939
}Semantic roles & 50–950 ramp
primary
#A27BFD
secondary
#ECF7D4
accent
#E600A1
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86