#8D50AF#8D50AF
#8D50AF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.3% C 0.153 H 312.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8D50AF |
|---|---|
| RGB | rgb(141, 80, 175) |
| HSL | hsl(279, 37%, 50%) |
| HSV | hsv(279, 54%, 69%) |
| CMYK | cmyk(19.4%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(44.94, 42.42, -40.77) |
| CIE-LCH | lch(44.94, 58.84, 316.14°) |
| OKLab | oklab(54.31% 0.1027 -0.1141) |
| OKLCH | oklch(54.31% 0.153 312) |
| XYZ | xyz(21.5897, 14.4957, 42.2098) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.06
Deep Lavender
#8D5EB7
ΔE00 4.13
Royal Purple
#7851A9
ΔE00 4.46
Medium Purple
#9E43A2
ΔE00 5.46
Amethyst
#9B5FC0
ΔE00 5.64
Ugly Purple
#A442A0
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D50AF #72AF50
analogous
#5D50AF #8D50AF #AF50A2
triadic
#8D50AF #AF8D50 #50AF8D
tetradic
#8D50AF #AF5D50 #72AF50 #50A2AF
square
#8D50AF #AF5D50 #72AF50 #50A2AF
split-complementary
#8D50AF #A2AF50 #50AF5D
monochromatic
#492A5B #6B3D85 #8D50AF #A87AC2 #C4A4D5
Accessibility & contrast
On white
5.39
#8D50AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#8D50AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D50AF
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D50AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D50AF | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#4A6CAD
Tritanopia (blue-blind)
#896078
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8d50af; /* rgb */ color: rgb(141, 80, 175); /* oklch */ color: oklch(54.3% 0.153 312.0);
Tailwind
colors: {
custom: {
50: '#b183c7',
500: '#8d50af',
950: '#000000',
},
}SCSS
$custom: #8d50af; $custom-light: #b183c7; $custom-dark: #000000;
JSON
{
"hex": "#8d50af",
"rgb": {
"r": 141,
"g": 80,
"b": 175
},
"hsl": {
"h": 278.526,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.54313,
"c": 0.15349,
"h": 312
},
"luminance": 0.14495
}Semantic roles & 50–950 ramp
primary
#8D50AF
secondary
#A7C398
accent
#CD5B84
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82