#A37FF2#A37FF2
#A37FF2 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.167 H 296.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A37FF2 |
|---|---|
| RGB | rgb(163, 127, 242) |
| HSL | hsl(259, 82%, 72%) |
| HSV | hsv(259, 48%, 95%) |
| CMYK | cmyk(32.6%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(61.11, 38.27, -53.07) |
| CIE-LCH | lch(61.11, 65.43, 305.79°) |
| OKLab | oklab(68.04% 0.0733 -0.1495) |
| OKLCH | oklch(68.04% 0.167 296.1) |
| XYZ | xyz(38.7167, 29.3755, 87.6174) |
| Luminance | 0.2938 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 5.07
Light Urple
#B36FF6
ΔE00 5.12
Mediumpurple
#9370DB
ΔE00 5.64
Light Purple
#BF77F6
ΔE00 5.77
Lavender Blue
#8B88F8
ΔE00 6.30
Easter Purple
#C071FE
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A37FF2 #CEF27F
analogous
#7F94F2 #A37FF2 #DD7FF2
triadic
#A37FF2 #F2A37F #7FF2A3
tetradic
#A37FF2 #F27F94 #CEF27F #7FF2DD
square
#A37FF2 #F27F94 #CEF27F #7FF2DD
split-complementary
#A37FF2 #F2DD7F #94F27F
monochromatic
#5617E0 #7B47EC #A37FF2 #CBB7F8 #EBE3FC
Accessibility & contrast
On white
3.05
#A37FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#A37FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A37FF2
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A37FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A37FF2 | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#9195AD
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a37ff2; /* rgb */ color: rgb(163, 127, 242); /* oklch */ color: oklch(68.0% 0.167 296.1);
Tailwind
colors: {
custom: {
50: '#c1a5f7',
500: '#a37ff2',
950: '#000000',
},
}SCSS
$custom: #a37ff2; $custom-light: #c1a5f7; $custom-dark: #000000;
JSON
{
"hex": "#a37ff2",
"rgb": {
"r": 163,
"g": 127,
"b": 242
},
"hsl": {
"h": 258.783,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.68035,
"c": 0.16654,
"h": 296.1
},
"luminance": 0.29376
}Semantic roles & 50–950 ramp
primary
#A37FF2
secondary
#EBF4D7
accent
#DE089B
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85