#A237C8#A237C8
#A237C8 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.221 H 315.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A237C8 |
|---|---|
| RGB | rgb(162, 55, 200) |
| HSL | hsl(284, 57%, 50%) |
| HSV | hsv(284, 73%, 78%) |
| CMYK | cmyk(19%, 72.5%, 0%, 21.6%) |
| CIE-LAB | lab(45.06, 64.23, -55.00) |
| CIE-LCH | lch(45.06, 84.56, 319.42°) |
| OKLab | oklab(55.48% 0.1579 -0.1549) |
| OKLCH | oklch(55.48% 0.221 315.5) |
| XYZ | xyz(26.6901, 14.5849, 56.0416) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.31
Purply
#983FB2
ΔE00 3.58
Vibrant Purple
#AD03DE
ΔE00 4.10
Barney
#AC1DB8
ΔE00 4.24
Violet (survey)
#9A0EEA
ΔE00 6.13
Darkviolet
#9400D3
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A237C8 #5DC837
analogous
#5A37C8 #A237C8 #C837A5
triadic
#A237C8 #C8A237 #37C8A2
tetradic
#A237C8 #C85A37 #5DC837 #37A5C8
square
#A237C8 #C85A37 #5DC837 #37A5C8
split-complementary
#A237C8 #A5C837 #37C85A
monochromatic
#541D68 #7B2A98 #A237C8 #B867D5 #CF97E2
Accessibility & contrast
On white
5.36
#A237C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#A237C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A237C8
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A237C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A237C8 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#346DC5
Tritanopia (blue-blind)
#9F567D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a237c8; /* rgb */ color: rgb(162, 55, 200); /* oklch */ color: oklch(55.5% 0.221 315.5);
Tailwind
colors: {
custom: {
50: '#c278d9',
500: '#a237c8',
950: '#000000',
},
}SCSS
$custom: #a237c8; $custom-light: #c278d9; $custom-dark: #000000;
JSON
{
"hex": "#a237c8",
"rgb": {
"r": 162,
"g": 55,
"b": 200
},
"hsl": {
"h": 284.276,
"s": 56.863,
"l": 50
},
"oklch": {
"l": 0.55481,
"c": 0.22125,
"h": 315.5
},
"luminance": 0.14584
}Semantic roles & 50–950 ramp
primary
#A237C8
secondary
#9ECE8D
accent
#E04870
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83