#8B38B7#8B38B7
#8B38B7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.4% C 0.196 H 311.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8B38B7 |
|---|---|
| RGB | rgb(139, 56, 183) |
| HSL | hsl(279, 53%, 47%) |
| HSV | hsv(279, 69%, 72%) |
| CMYK | cmyk(24%, 69.4%, 0%, 28.2%) |
| CIE-LAB | lab(40.79, 55.57, -52.12) |
| CIE-LCH | lch(40.79, 76.19, 316.84°) |
| OKLab | oklab(51.41% 0.1296 -0.1472) |
| OKLCH | oklch(51.41% 0.196 311.4) |
| XYZ | xyz(20.6073, 11.7367, 45.9704) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.53
Purply
#983FB2
ΔE00 3.59
Darkviolet
#9400D3
ΔE00 5.56
Barney
#AC1DB8
ΔE00 6.02
Blueviolet
#8A2BE2
ΔE00 6.21
Purple (survey)
#7E1E9C
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B38B7 #64B738
analogous
#4C38B7 #8B38B7 #B738A3
triadic
#8B38B7 #B78B38 #38B78B
tetradic
#8B38B7 #B74C38 #64B738 #38A3B7
square
#8B38B7 #B74C38 #64B738 #38A3B7
split-complementary
#8B38B7 #A3B738 #38B74C
monochromatic
#441B59 #672A88 #8B38B7 #A75ECE #C18DDC
Accessibility & contrast
On white
6.27
#8B38B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#8B38B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B38B7
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B38B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B38B7 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#2862B4
Tritanopia (blue-blind)
#855373
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8b38b7; /* rgb */ color: rgb(139, 56, 183); /* oklch */ color: oklch(51.4% 0.196 311.4);
Tailwind
colors: {
custom: {
50: '#b175cd',
500: '#8b38b7',
950: '#000000',
},
}SCSS
$custom: #8b38b7; $custom-light: #b175cd; $custom-dark: #000000;
JSON
{
"hex": "#8b38b7",
"rgb": {
"r": 139,
"g": 56,
"b": 183
},
"hsl": {
"h": 279.213,
"s": 53.138,
"l": 46.863
},
"oklch": {
"l": 0.51407,
"c": 0.19617,
"h": 311.4
},
"luminance": 0.11736
}Semantic roles & 50–950 ramp
primary
#8B38B7
secondary
#9BC784
accent
#DD4B7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82