#8D3FAF#8D3FAF
#8D3FAF is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.0% C 0.179 H 314.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8D3FAF |
|---|---|
| RGB | rgb(141, 63, 175) |
| HSL | hsl(282, 47%, 47%) |
| HSV | hsv(282, 64%, 69%) |
| CMYK | cmyk(19.4%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(41.71, 51.10, -45.91) |
| CIE-LCH | lch(41.71, 68.69, 318.06°) |
| OKLab | oklab(51.96% 0.1248 -0.129) |
| OKLCH | oklch(51.96% 0.179 314) |
| XYZ | xyz(20.4986, 12.3135, 41.8461) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.16
Darkorchid
#9932CC
ΔE00 4.70
Medium Purple
#9E43A2
ΔE00 5.34
Barney
#AC1DB8
ΔE00 5.92
Royal Purple
#7851A9
ΔE00 6.02
Ugly Purple
#A442A0
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D3FAF #61AF3F
analogous
#553FAF #8D3FAF #AF3F99
triadic
#8D3FAF #AF8D3F #3FAF8D
tetradic
#8D3FAF #AF553F #61AF3F #3F99AF
square
#8D3FAF #AF553F #61AF3F #3F99AF
split-complementary
#8D3FAF #99AF3F #3FAF55
monochromatic
#441F55 #692F82 #8D3FAF #A964C7 #C291D7
Accessibility & contrast
On white
6.06
#8D3FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#8D3FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D3FAF
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D3FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D3FAF | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#8A5471
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8d3faf; /* rgb */ color: rgb(141, 63, 175); /* oklch */ color: oklch(52.0% 0.179 314.0);
Tailwind
colors: {
custom: {
50: '#b279c7',
500: '#8d3faf',
950: '#000000',
},
}SCSS
$custom: #8d3faf; $custom-light: #b279c7; $custom-dark: #000000;
JSON
{
"hex": "#8d3faf",
"rgb": {
"r": 141,
"g": 63,
"b": 175
},
"hsl": {
"h": 281.786,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.51959,
"c": 0.17946,
"h": 314
},
"luminance": 0.12313
}Semantic roles & 50–950 ramp
primary
#8D3FAF
secondary
#99C387
accent
#D7517A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82