#A237D7#A237D7
#A237D7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.235 H 311.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A237D7 |
|---|---|
| RGB | rgb(162, 55, 215) |
| HSL | hsl(280, 67%, 53%) |
| HSV | hsv(280, 74%, 84%) |
| CMYK | cmyk(24.7%, 74.4%, 0%, 15.7%) |
| CIE-LAB | lab(46.07, 67.23, -62.01) |
| CIE-LCH | lch(46.07, 91.47, 317.31°) |
| OKLab | oklab(56.52% 0.1558 -0.1755) |
| OKLCH | oklch(56.52% 0.235 311.6) |
| XYZ | xyz(28.5299, 15.3208, 65.7311) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.60
Vibrant Purple
#AD03DE
ΔE00 3.48
Violet (survey)
#9A0EEA
ΔE00 4.87
Bright Violet
#AD0AFD
ΔE00 4.93
Electric Purple
#AA23FF
ΔE00 5.03
Blueviolet
#8A2BE2
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A237D7 #6CD737
analogous
#5237D7 #A237D7 #D737BC
triadic
#A237D7 #D7A237 #37D7A2
tetradic
#A237D7 #D75237 #6CD737 #37BCD7
square
#A237D7 #D75237 #6CD737 #37BCD7
split-complementary
#A237D7 #BCD737 #37D752
monochromatic
#5A197B #8023AE #A237D7 #BA6AE1 #D19DEB
Accessibility & contrast
On white
5.17
#A237D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#A237D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A237D7
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A237D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A237D7 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#1B6FD4
Tritanopia (blue-blind)
#9B5C85
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a237d7; /* rgb */ color: rgb(162, 55, 215); /* oklch */ color: oklch(56.5% 0.235 311.6);
Tailwind
colors: {
custom: {
50: '#c278e4',
500: '#a237d7',
950: '#000000',
},
}SCSS
$custom: #a237d7; $custom-light: #c278e4; $custom-dark: #000000;
JSON
{
"hex": "#a237d7",
"rgb": {
"r": 162,
"g": 55,
"b": 215
},
"hsl": {
"h": 280.125,
"s": 66.667,
"l": 52.941
},
"oklch": {
"l": 0.56517,
"c": 0.23472,
"h": 311.6
},
"luminance": 0.1532
}Semantic roles & 50–950 ramp
primary
#A237D7
secondary
#A9D792
accent
#EA3E77
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84