#8D38C3#8D38C3
#8D38C3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.209 H 308.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8D38C3 |
|---|---|
| RGB | rgb(141, 56, 195) |
| HSL | hsl(277, 55%, 49%) |
| HSV | hsv(277, 71%, 76%) |
| CMYK | cmyk(27.7%, 71.3%, 0%, 23.5%) |
| CIE-LAB | lab(41.89, 58.60, -57.36) |
| CIE-LCH | lch(41.89, 82.00, 315.61°) |
| OKLab | oklab(52.51% 0.1308 -0.1625) |
| OKLCH | oklch(52.51% 0.209 308.8) |
| XYZ | xyz(22.2470, 12.4316, 52.8467) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.22
Purply
#983FB2
ΔE00 4.39
Blueviolet
#8A2BE2
ΔE00 4.54
Darkviolet
#9400D3
ΔE00 4.77
Violet (survey)
#9A0EEA
ΔE00 5.61
Vibrant Purple
#AD03DE
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D38C3 #6EC338
analogous
#4838C3 #8D38C3 #C338B3
triadic
#8D38C3 #C38D38 #38C38D
tetradic
#8D38C3 #C34838 #6EC338 #38B3C3
square
#8D38C3 #C34838 #6EC338 #38B3C3
split-complementary
#8D38C3 #B3C338 #38C348
monochromatic
#481D64 #6B2A93 #8D38C3 #A865D3 #C395E1
Accessibility & contrast
On white
6.02
#8D38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#8D38C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D38C3
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D38C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D38C3 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#1564C0
Tritanopia (blue-blind)
#85587A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8d38c3; /* rgb */ color: rgb(141, 56, 195); /* oklch */ color: oklch(52.5% 0.209 308.8);
Tailwind
colors: {
custom: {
50: '#b376d6',
500: '#8d38c3',
950: '#000000',
},
}SCSS
$custom: #8d38c3; $custom-light: #b376d6; $custom-dark: #000000;
JSON
{
"hex": "#8d38c3",
"rgb": {
"r": 141,
"g": 56,
"b": 195
},
"hsl": {
"h": 276.691,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.5251,
"c": 0.20862,
"h": 308.8
},
"luminance": 0.12431
}Semantic roles & 50–950 ramp
primary
#8D38C3
secondary
#A4CC8B
accent
#DF4983
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83