#8A3EBF#8A3EBF
#8A3EBF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.196 H 308.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3EBF |
|---|---|
| RGB | rgb(138, 62, 191) |
| HSL | hsl(275, 51%, 50%) |
| HSV | hsv(275, 68%, 75%) |
| CMYK | cmyk(27.7%, 67.5%, 0%, 25.1%) |
| CIE-LAB | lab(42.17, 54.42, -54.60) |
| CIE-LCH | lch(42.17, 77.08, 314.91°) |
| OKLab | oklab(52.53% 0.121 -0.1546) |
| OKLCH | oklch(52.53% 0.196 308) |
| XYZ | xyz(21.6059, 12.6104, 50.5760) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.06
Purply
#983FB2
ΔE00 4.09
Blueviolet
#8A2BE2
ΔE00 5.31
Darkviolet
#9400D3
ΔE00 5.90
Royal Purple
#7851A9
ΔE00 6.33
Violet (survey)
#9A0EEA
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3EBF #73BF3E
analogous
#4A3EBF #8A3EBF #BF3EB4
triadic
#8A3EBF #BF8A3E #3EBF8A
tetradic
#8A3EBF #BF4A3E #73BF3E #3EB4BF
square
#8A3EBF #BF4A3E #73BF3E #3EB4BF
split-complementary
#8A3EBF #B4BF3E #3EBF4A
monochromatic
#472063 #692F91 #8A3EBF #A66BCF #C299DE
Accessibility & contrast
On white
5.96
#8A3EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#8A3EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3EBF
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3EBF | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#825A79
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a3ebf; /* rgb */ color: rgb(138, 62, 191); /* oklch */ color: oklch(52.5% 0.196 308.0);
Tailwind
colors: {
custom: {
50: '#b079d3',
500: '#8a3ebf',
950: '#000000',
},
}SCSS
$custom: #8a3ebf; $custom-light: #b079d3; $custom-dark: #000000;
JSON
{
"hex": "#8a3ebf",
"rgb": {
"r": 138,
"g": 62,
"b": 191
},
"hsl": {
"h": 275.349,
"s": 50.988,
"l": 49.608
},
"oklch": {
"l": 0.52534,
"c": 0.19629,
"h": 308
},
"luminance": 0.1261
}Semantic roles & 50–950 ramp
primary
#8A3EBF
secondary
#A7CA8F
accent
#DA4D87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83