#8A3BAF#8A3BAF
#8A3BAF is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.184 H 313.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BAF |
|---|---|
| RGB | rgb(138, 59, 175) |
| HSL | hsl(281, 50%, 46%) |
| HSV | hsv(281, 66%, 69%) |
| CMYK | cmyk(21.1%, 66.3%, 0%, 31.4%) |
| CIE-LAB | lab(40.62, 52.27, -47.69) |
| CIE-LCH | lch(40.62, 70.75, 317.63°) |
| OKLab | oklab(51.08% 0.1257 -0.1343) |
| OKLCH | oklch(51.08% 0.184 313.1) |
| XYZ | xyz(19.7817, 11.6269, 41.7513) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.08
Darkorchid
#9932CC
ΔE00 4.65
Barney
#AC1DB8
ΔE00 6.12
Medium Purple
#9E43A2
ΔE00 6.21
Purple (survey)
#7E1E9C
ΔE00 6.27
Royal Purple
#7851A9
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BAF #60AF3B
analogous
#503BAF #8A3BAF #AF3B9A
triadic
#8A3BAF #AF8A3B #3BAF8A
tetradic
#8A3BAF #AF503B #60AF3B #3B9AAF
square
#8A3BAF #AF503B #60AF3B #3B9AAF
split-complementary
#8A3BAF #9AAF3B #3BAF50
monochromatic
#421C53 #662C81 #8A3BAF #A75EC9 #C08CD8
Accessibility & contrast
On white
6.32
#8A3BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#8A3BAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BAF
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BAF | 1.00 | 6.32 | 3.33 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3362AC
Tritanopia (blue-blind)
#865270
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a3baf; /* rgb */ color: rgb(138, 59, 175); /* oklch */ color: oklch(51.1% 0.184 313.1);
Tailwind
colors: {
custom: {
50: '#b077c7',
500: '#8a3baf',
950: '#000000',
},
}SCSS
$custom: #8a3baf; $custom-light: #b077c7; $custom-dark: #000000;
JSON
{
"hex": "#8a3baf",
"rgb": {
"r": 138,
"g": 59,
"b": 175
},
"hsl": {
"h": 280.862,
"s": 49.573,
"l": 45.882
},
"oklch": {
"l": 0.51084,
"c": 0.18389,
"h": 313.1
},
"luminance": 0.11626
}Semantic roles & 50–950 ramp
primary
#8A3BAF
secondary
#97C383
accent
#D94F7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82