#8F38B7#8F38B7
#8F38B7 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.198 H 313.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8F38B7 |
|---|---|
| RGB | rgb(143, 56, 183) |
| HSL | hsl(281, 53%, 47%) |
| HSV | hsv(281, 69%, 72%) |
| CMYK | cmyk(21.9%, 69.4%, 0%, 28.2%) |
| CIE-LAB | lab(41.35, 56.43, -51.19) |
| CIE-LCH | lch(41.35, 76.18, 317.79°) |
| OKLab | oklab(51.92% 0.1348 -0.1444) |
| OKLCH | oklch(51.92% 0.198 313) |
| XYZ | xyz(21.2876, 12.0875, 46.0023) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.88
Darkorchid
#9932CC
ΔE00 3.25
Barney
#AC1DB8
ΔE00 5.32
Darkviolet
#9400D3
ΔE00 5.72
Blueviolet
#8A2BE2
ΔE00 6.48
Medium Purple
#9E43A2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F38B7 #60B738
analogous
#4F38B7 #8F38B7 #B738A0
triadic
#8F38B7 #B78F38 #38B78F
tetradic
#8F38B7 #B74F38 #60B738 #38A0B7
square
#8F38B7 #B74F38 #60B738 #38A0B7
split-complementary
#8F38B7 #A0B738 #38B74F
monochromatic
#461B59 #6A2A88 #8F38B7 #AB5ECE #C38DDC
Accessibility & contrast
On white
6.15
#8F38B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#8F38B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F38B7
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F38B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F38B7 | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2E63B4
Tritanopia (blue-blind)
#8B5273
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8f38b7; /* rgb */ color: rgb(143, 56, 183); /* oklch */ color: oklch(51.9% 0.198 313.0);
Tailwind
colors: {
custom: {
50: '#b476cd',
500: '#8f38b7',
950: '#000000',
},
}SCSS
$custom: #8f38b7; $custom-light: #b476cd; $custom-dark: #000000;
JSON
{
"hex": "#8f38b7",
"rgb": {
"r": 143,
"g": 56,
"b": 183
},
"hsl": {
"h": 281.102,
"s": 53.138,
"l": 46.863
},
"oklch": {
"l": 0.51924,
"c": 0.19752,
"h": 313
},
"luminance": 0.12087
}Semantic roles & 50–950 ramp
primary
#8F38B7
secondary
#99C784
accent
#DD4B79
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82