#A37FEF#A37FEF
#A37FEF is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.9% C 0.163 H 296.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A37FEF |
|---|---|
| RGB | rgb(163, 127, 239) |
| HSL | hsl(259, 78%, 72%) |
| HSV | hsv(259, 47%, 94%) |
| CMYK | cmyk(31.8%, 46.9%, 0%, 6.3%) |
| CIE-LAB | lab(60.95, 37.51, -51.66) |
| CIE-LCH | lch(60.95, 63.84, 305.98°) |
| OKLab | oklab(67.87% 0.073 -0.1454) |
| OKLCH | oklch(67.87% 0.163 296.7) |
| XYZ | xyz(38.2698, 29.1968, 85.2639) |
| Luminance | 0.2920 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 5.14
Periwinkle (survey)
#8E82FE
ΔE00 5.37
Mediumpurple
#9370DB
ΔE00 5.44
Light Purple
#BF77F6
ΔE00 5.73
Easter Purple
#C071FE
ΔE00 6.37
Lavender Blue
#8B88F8
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A37FEF #CBEF7F
analogous
#7F93EF #A37FEF #DB7FEF
triadic
#A37FEF #EFA37F #7FEFA3
tetradic
#A37FEF #EF7F93 #CBEF7F #7FEFDB
square
#A37FEF #EF7F93 #CBEF7F #7FEFDB
split-complementary
#A37FEF #EFDB7F #93EF7F
monochromatic
#581BD9 #7C49E8 #A37FEF #CAB5F6 #EBE4FC
Accessibility & contrast
On white
3.07
#A37FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#A37FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A37FEF
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A37FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A37FEF | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#6192EC
Tritanopia (blue-blind)
#9294AC
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a37fef; /* rgb */ color: rgb(163, 127, 239); /* oklch */ color: oklch(67.9% 0.163 296.7);
Tailwind
colors: {
custom: {
50: '#c1a5f5',
500: '#a37fef',
950: '#000000',
},
}SCSS
$custom: #a37fef; $custom-light: #c1a5f5; $custom-dark: #000000;
JSON
{
"hex": "#a37fef",
"rgb": {
"r": 163,
"g": 127,
"b": 239
},
"hsl": {
"h": 259.286,
"s": 77.778,
"l": 71.765
},
"oklch": {
"l": 0.67867,
"c": 0.1627,
"h": 296.7
},
"luminance": 0.29197
}Semantic roles & 50–950 ramp
primary
#A37FEF
secondary
#EAF3D7
accent
#DA0B98
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85