#8A3CB1#8A3CB1
#8A3CB1 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.3% C 0.185 H 312.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3CB1 |
|---|---|
| RGB | rgb(138, 60, 177) |
| HSL | hsl(280, 49%, 46%) |
| HSV | hsv(280, 66%, 69%) |
| CMYK | cmyk(22%, 66.1%, 0%, 30.6%) |
| CIE-LAB | lab(40.91, 52.24, -48.39) |
| CIE-LCH | lch(40.91, 71.21, 317.19°) |
| OKLab | oklab(51.34% 0.1244 -0.1364) |
| OKLCH | oklch(51.34% 0.185 312.4) |
| XYZ | xyz(20.0315, 11.8099, 42.8108) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.05
Darkorchid
#9932CC
ΔE00 4.40
Royal Purple
#7851A9
ΔE00 6.16
Barney
#AC1DB8
ΔE00 6.21
Medium Purple
#9E43A2
ΔE00 6.34
Purple (survey)
#7E1E9C
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3CB1 #63B13C
analogous
#503CB1 #8A3CB1 #B13C9E
triadic
#8A3CB1 #B18A3C #3CB18A
tetradic
#8A3CB1 #B1503C #63B13C #3C9EB1
square
#8A3CB1 #B1503C #63B13C #3C9EB1
split-complementary
#8A3CB1 #9EB13C #3CB150
monochromatic
#431D56 #662D83 #8A3CB1 #A761C9 #C08FD9
Accessibility & contrast
On white
6.25
#8A3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8A3CB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3CB1
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3CB1 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#865371
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a3cb1; /* rgb */ color: rgb(138, 60, 177); /* oklch */ color: oklch(51.3% 0.185 312.4);
Tailwind
colors: {
custom: {
50: '#b077c9',
500: '#8a3cb1',
950: '#000000',
},
}SCSS
$custom: #8a3cb1; $custom-light: #b077c9; $custom-dark: #000000;
JSON
{
"hex": "#8a3cb1",
"rgb": {
"r": 138,
"g": 60,
"b": 177
},
"hsl": {
"h": 280,
"s": 49.367,
"l": 46.471
},
"oklch": {
"l": 0.51337,
"c": 0.18456,
"h": 312.4
},
"luminance": 0.11809
}Semantic roles & 50–950 ramp
primary
#8A3CB1
secondary
#9AC485
accent
#D94F7D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82