#8A30AF#8A30AF
#8A30AF is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.198 H 314.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8A30AF |
|---|---|
| RGB | rgb(138, 48, 175) |
| HSL | hsl(283, 57%, 44%) |
| HSV | hsv(283, 73%, 69%) |
| CMYK | cmyk(21.1%, 72.6%, 0%, 31.4%) |
| CIE-LAB | lab(38.92, 57.03, -50.41) |
| CIE-LCH | lch(38.92, 76.12, 318.52°) |
| OKLab | oklab(49.87% 0.1376 -0.1422) |
| OKLCH | oklch(49.87% 0.198 314) |
| XYZ | xyz(19.2747, 10.6130, 41.5823) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.42
Purple (survey)
#7E1E9C
ΔE00 4.66
Darkorchid
#9932CC
ΔE00 4.88
Darkviolet
#9400D3
ΔE00 5.62
Barney
#AC1DB8
ΔE00 5.91
Rebeccapurple
#663399
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A30AF #55AF30
analogous
#4A30AF #8A30AF #AF3094
triadic
#8A30AF #AF8A30 #30AF8A
tetradic
#8A30AF #AF4A30 #55AF30 #3094AF
square
#8A30AF #AF4A30 #55AF30 #3094AF
split-complementary
#8A30AF #94AF30 #30AF4A
monochromatic
#3E164F #64237F #8A30AF #A94ECE #C07EDC
Accessibility & contrast
On white
6.73
#8A30AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#8A30AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A30AF
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A30AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A30AF | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#864B6D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8a30af; /* rgb */ color: rgb(138, 48, 175); /* oklch */ color: oklch(49.9% 0.198 314.0);
Tailwind
colors: {
custom: {
50: '#b071c8',
500: '#8a30af',
950: '#000000',
},
}SCSS
$custom: #8a30af; $custom-light: #b071c8; $custom-dark: #000000;
JSON
{
"hex": "#8a30af",
"rgb": {
"r": 138,
"g": 48,
"b": 175
},
"hsl": {
"h": 282.52,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.4987,
"c": 0.19785,
"h": 314
},
"luminance": 0.10612
}Semantic roles & 50–950 ramp
primary
#8A30AF
secondary
#8DC476
accent
#E04874
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82