#8A2CAD#8A2CAD
#8A2CAD is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.201 H 315.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2CAD |
|---|---|
| RGB | rgb(138, 44, 173) |
| HSL | hsl(284, 59%, 43%) |
| HSV | hsv(284, 75%, 68%) |
| CMYK | cmyk(20.2%, 74.6%, 0%, 32.2%) |
| CIE-LAB | lab(38.24, 58.17, -50.32) |
| CIE-LCH | lch(38.24, 76.92, 319.14°) |
| OKLab | oklab(49.34% 0.1417 -0.1419) |
| OKLCH | oklch(49.34% 0.201 315) |
| XYZ | xyz(18.9235, 10.2225, 40.5034) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.04
Purply
#983FB2
ΔE00 4.93
Darkorchid
#9932CC
ΔE00 5.37
Darkviolet
#9400D3
ΔE00 5.63
Barney
#AC1DB8
ΔE00 5.97
Barney Purple
#A00498
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2CAD #4FAD2C
analogous
#4A2CAD #8A2CAD #AD2C8F
triadic
#8A2CAD #AD8A2C #2CAD8A
tetradic
#8A2CAD #AD4A2C #4FAD2C #2C8FAD
square
#8A2CAD #AD4A2C #4FAD2C #2C8FAD
split-complementary
#8A2CAD #8FAD2C #2CAD4A
monochromatic
#3C134B #63207C #8A2CAD #AB46D0 #C177DC
Accessibility & contrast
On white
6.90
#8A2CAD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#8A2CAD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A2CAD
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2CAD | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#87486B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8a2cad; /* rgb */ color: rgb(138, 44, 173); /* oklch */ color: oklch(49.3% 0.201 315.0);
Tailwind
colors: {
custom: {
50: '#b06fc6',
500: '#8a2cad',
950: '#000000',
},
}SCSS
$custom: #8a2cad; $custom-light: #b06fc6; $custom-dark: #000000;
JSON
{
"hex": "#8a2cad",
"rgb": {
"r": 138,
"g": 44,
"b": 173
},
"hsl": {
"h": 283.721,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.49343,
"c": 0.20056,
"h": 315
},
"luminance": 0.10222
}Semantic roles & 50–950 ramp
primary
#8A2CAD
secondary
#87C471
accent
#E34570
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82