#8A3FBD#8A3FBD
#8A3FBD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.193 H 308.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FBD |
|---|---|
| RGB | rgb(138, 63, 189) |
| HSL | hsl(276, 50%, 49%) |
| HSV | hsv(276, 67%, 74%) |
| CMYK | cmyk(27%, 66.7%, 0%, 25.9%) |
| CIE-LAB | lab(42.20, 53.50, -53.37) |
| CIE-LCH | lch(42.20, 75.57, 315.07°) |
| OKLab | oklab(52.52% 0.1201 -0.151) |
| OKLCH | oklch(52.52% 0.193 308.5) |
| XYZ | xyz(21.4422, 12.6328, 49.4430) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.27
Purply
#983FB2
ΔE00 3.84
Blueviolet
#8A2BE2
ΔE00 5.68
Royal Purple
#7851A9
ΔE00 6.07
Darkviolet
#9400D3
ΔE00 6.18
Barney
#AC1DB8
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FBD #72BD3F
analogous
#4B3FBD #8A3FBD #BD3FB1
triadic
#8A3FBD #BD8A3F #3FBD8A
tetradic
#8A3FBD #BD4B3F #72BD3F #3FB1BD
square
#8A3FBD #BD4B3F #72BD3F #3FB1BD
split-complementary
#8A3FBD #B1BD3F #3FBD4B
monochromatic
#472061 #68308F #8A3FBD #A66BCE #C299DD
Accessibility & contrast
On white
5.96
#8A3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8A3FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FBD
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FBD | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#2764BA
Tritanopia (blue-blind)
#825A79
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a3fbd; /* rgb */ color: rgb(138, 63, 189); /* oklch */ color: oklch(52.5% 0.193 308.5);
Tailwind
colors: {
custom: {
50: '#b079d2',
500: '#8a3fbd',
950: '#000000',
},
}SCSS
$custom: #8a3fbd; $custom-light: #b079d2; $custom-dark: #000000;
JSON
{
"hex": "#8a3fbd",
"rgb": {
"r": 138,
"g": 63,
"b": 189
},
"hsl": {
"h": 275.714,
"s": 50,
"l": 49.412
},
"oklch": {
"l": 0.52516,
"c": 0.19291,
"h": 308.5
},
"luminance": 0.12632
}Semantic roles & 50–950 ramp
primary
#8A3FBD
secondary
#A6C98F
accent
#DA4E87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83