#8D37C2#8D37C2
#8D37C2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.209 H 309.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8D37C2 |
|---|---|
| RGB | rgb(141, 55, 194) |
| HSL | hsl(277, 56%, 49%) |
| HSV | hsv(277, 72%, 76%) |
| CMYK | cmyk(27.3%, 71.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.67, 58.80, -57.13) |
| CIE-LCH | lch(41.67, 81.98, 315.83°) |
| OKLab | oklab(52.33% 0.1319 -0.1619) |
| OKLCH | oklch(52.33% 0.209 309.2) |
| XYZ | xyz(22.0863, 12.2905, 52.2373) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.28
Purply
#983FB2
ΔE00 4.35
Blueviolet
#8A2BE2
ΔE00 4.64
Darkviolet
#9400D3
ΔE00 4.67
Violet (survey)
#9A0EEA
ΔE00 5.67
Vibrant Purple
#AD03DE
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D37C2 #6CC237
analogous
#4837C2 #8D37C2 #C237B2
triadic
#8D37C2 #C28D37 #37C28D
tetradic
#8D37C2 #C24837 #6CC237 #37B2C2
square
#8D37C2 #C24837 #6CC237 #37B2C2
split-complementary
#8D37C2 #B2C237 #37C248
monochromatic
#481C63 #6A2992 #8D37C2 #A863D3 #C393E0
Accessibility & contrast
On white
6.07
#8D37C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#8D37C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D37C2
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D37C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D37C2 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#1563BF
Tritanopia (blue-blind)
#855779
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8d37c2; /* rgb */ color: rgb(141, 55, 194); /* oklch */ color: oklch(52.3% 0.209 309.2);
Tailwind
colors: {
custom: {
50: '#b375d5',
500: '#8d37c2',
950: '#000000',
},
}SCSS
$custom: #8d37c2; $custom-light: #b375d5; $custom-dark: #000000;
JSON
{
"hex": "#8d37c2",
"rgb": {
"r": 141,
"g": 55,
"b": 194
},
"hsl": {
"h": 277.122,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.52331,
"c": 0.20882,
"h": 309.2
},
"luminance": 0.1229
}Semantic roles & 50–950 ramp
primary
#8D37C2
secondary
#A3CB89
accent
#DF4982
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83