#8F36DA#8F36DA
#8F36DA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.3% C 0.234 H 304.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8F36DA |
|---|---|
| RGB | rgb(143, 54, 218) |
| HSL | hsl(273, 69%, 53%) |
| HSV | hsv(273, 75%, 85%) |
| CMYK | cmyk(34.4%, 75.2%, 0%, 14.5%) |
| CIE-LAB | lab(43.57, 64.88, -67.92) |
| CIE-LCH | lch(43.57, 93.93, 313.69°) |
| OKLab | oklab(54.28% 0.1311 -0.1935) |
| OKLCH | oklch(54.28% 0.234 304.1) |
| XYZ | xyz(25.2988, 13.5400, 67.5968) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.10
Darkorchid
#9932CC
ΔE00 2.92
Violet (survey)
#9A0EEA
ΔE00 3.45
Vivid Purple
#9900FA
ΔE00 4.51
Darkviolet
#9400D3
ΔE00 4.79
Vibrant Purple
#AD03DE
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F36DA #81DA36
analogous
#3D36DA #8F36DA #DA36D3
triadic
#8F36DA #DA8F36 #36DA8F
tetradic
#8F36DA #DA3D36 #81DA36 #36D3DA
square
#8F36DA #DA3D36 #81DA36 #36D3DA
split-complementary
#8F36DA #D3DA36 #36DA3D
monochromatic
#4F177E #7021B2 #8F36DA #AC6AE4 #C99DED
Accessibility & contrast
On white
5.66
#8F36DA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#8F36DA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F36DA
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F36DA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F36DA | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#806086
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8f36da; /* rgb */ color: rgb(143, 54, 218); /* oklch */ color: oklch(54.3% 0.234 304.1);
Tailwind
colors: {
custom: {
50: '#b676e6',
500: '#8f36da',
950: '#000000',
},
}SCSS
$custom: #8f36da; $custom-light: #b676e6; $custom-dark: #000000;
JSON
{
"hex": "#8f36da",
"rgb": {
"r": 143,
"g": 54,
"b": 218
},
"hsl": {
"h": 272.561,
"s": 68.908,
"l": 53.333
},
"oklch": {
"l": 0.54279,
"c": 0.23371,
"h": 304.1
},
"luminance": 0.1354
}Semantic roles & 50–950 ramp
primary
#8F36DA
secondary
#B3D993
accent
#EC3C8C
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120916
muted
#817B84