#8F4DD3#8F4DD3
#8F4DD3 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.199 H 303.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4DD3 |
|---|---|
| RGB | rgb(143, 77, 211) |
| HSL | hsl(270, 60%, 56%) |
| HSV | hsv(270, 64%, 83%) |
| CMYK | cmyk(32.2%, 63.5%, 0%, 17.3%) |
| CIE-LAB | lab(46.78, 52.88, -58.70) |
| CIE-LCH | lch(46.78, 79.01, 312.01°) |
| OKLab | oklab(56.41% 0.109 -0.1665) |
| OKLCH | oklch(56.41% 0.199 303.2) |
| XYZ | xyz(25.7367, 15.8506, 63.3190) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.88
Lightish Purple
#A552E6
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 5.23
Blueviolet
#8A2BE2
ΔE00 6.28
Deep Lavender
#8D5EB7
ΔE00 6.44
Amethyst
#9B5FC0
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4DD3 #91D34D
analogous
#4D4ED3 #8F4DD3 #D24DD3
triadic
#8F4DD3 #D38F4D #4DD38F
tetradic
#8F4DD3 #D34D4E #91D34D #4DD3D2
square
#8F4DD3 #D34D4E #91D34D #4DD3D2
split-complementary
#8F4DD3 #D3D24D #4ED34D
monochromatic
#522185 #702DB6 #8F4DD3 #AE7EDF #CDAFEB
Accessibility & contrast
On white
5.04
#8F4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#8F4DD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4DD3
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4DD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4DD3 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#226FD0
Tritanopia (blue-blind)
#826A89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8f4dd3; /* rgb */ color: rgb(143, 77, 211); /* oklch */ color: oklch(56.4% 0.199 303.2);
Tailwind
colors: {
custom: {
50: '#b482e1',
500: '#8f4dd3',
950: '#000000',
},
}SCSS
$custom: #8f4dd3; $custom-light: #b482e1; $custom-dark: #000000;
JSON
{
"hex": "#8f4dd3",
"rgb": {
"r": 143,
"g": 77,
"b": 211
},
"hsl": {
"h": 269.552,
"s": 60.36,
"l": 56.471
},
"oklch": {
"l": 0.56411,
"c": 0.19905,
"h": 303.2
},
"luminance": 0.15851
}Semantic roles & 50–950 ramp
primary
#8F4DD3
secondary
#BED9A2
accent
#E44495
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83