#8138BA#8138BA
#8138BA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.4% C 0.196 H 306.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8138BA |
|---|---|
| RGB | rgb(129, 56, 186) |
| HSL | hsl(274, 54%, 47%) |
| HSV | hsv(274, 70%, 73%) |
| CMYK | cmyk(30.6%, 69.9%, 0%, 27.1%) |
| CIE-LAB | lab(39.65, 54.16, -55.80) |
| CIE-LCH | lch(39.65, 77.76, 314.15°) |
| OKLab | oklab(50.37% 0.116 -0.1584) |
| OKLCH | oklch(50.37% 0.196 306.2) |
| XYZ | xyz(19.3284, 11.0408, 47.5577) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.54
Darkviolet
#9400D3
ΔE00 5.45
Blueviolet
#8A2BE2
ΔE00 5.49
Purply
#983FB2
ΔE00 5.61
Bluey Purple
#6241C7
ΔE00 6.38
Purple (survey)
#7E1E9C
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8138BA #71BA38
analogous
#4038BA #8138BA #BA38B2
triadic
#8138BA #BA8138 #38BA81
tetradic
#8138BA #BA4038 #71BA38 #38B2BA
square
#8138BA #BA4038 #71BA38 #38B2BA
split-complementary
#8138BA #B2BA38 #38BA40
monochromatic
#401C5C #602A8B #8138BA #9E60CF #BB8FDD
Accessibility & contrast
On white
6.55
#8138BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8138BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8138BA
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8138BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8138BA | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#095EB7
Tritanopia (blue-blind)
#775675
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8138ba; /* rgb */ color: rgb(129, 56, 186); /* oklch */ color: oklch(50.4% 0.196 306.2);
Tailwind
colors: {
custom: {
50: '#aa74d0',
500: '#8138ba',
950: '#000000',
},
}SCSS
$custom: #8138ba; $custom-light: #aa74d0; $custom-dark: #000000;
JSON
{
"hex": "#8138ba",
"rgb": {
"r": 129,
"g": 56,
"b": 186
},
"hsl": {
"h": 273.692,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.50369,
"c": 0.1963,
"h": 306.2
},
"luminance": 0.11041
}Semantic roles & 50–950 ramp
primary
#8138BA
secondary
#A3C886
accent
#DD4B8B
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100914
muted
#7F7B82