#8F50CA#8F50CA
#8F50CA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.185 H 305.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8F50CA |
|---|---|
| RGB | rgb(143, 80, 202) |
| HSL | hsl(271, 54%, 55%) |
| HSV | hsv(271, 60%, 79%) |
| CMYK | cmyk(29.2%, 60.4%, 0%, 20.8%) |
| CIE-LAB | lab(46.77, 49.20, -53.55) |
| CIE-LCH | lch(46.77, 72.72, 312.57°) |
| OKLab | oklab(56.22% 0.1059 -0.1514) |
| OKLCH | oklch(56.22% 0.185 305) |
| XYZ | xyz(24.8547, 15.8414, 57.6140) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.79
Deep Lavender
#8D5EB7
ΔE00 5.05
Amethyst
#9B5FC0
ΔE00 5.55
Darkorchid
#9932CC
ΔE00 5.57
Lightish Purple
#A552E6
ΔE00 5.60
Purply
#983FB2
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F50CA #8BCA50
analogous
#5250CA #8F50CA #CA50C8
triadic
#8F50CA #CA8F50 #50CA8F
tetradic
#8F50CA #CA5250 #8BCA50 #50C8CA
square
#8F50CA #CA5250 #8BCA50 #50C8CA
split-complementary
#8F50CA #C8CA50 #50CA52
monochromatic
#51257A #7033A9 #8F50CA #AD7FD8 #CBAEE6
Accessibility & contrast
On white
5.04
#8F50CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#8F50CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F50CA
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F50CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F50CA | 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)
#106DCE
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#856985
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8f50ca; /* rgb */ color: rgb(143, 80, 202); /* oklch */ color: oklch(56.2% 0.185 305.0);
Tailwind
colors: {
custom: {
50: '#b484db',
500: '#8f50ca',
950: '#000000',
},
}SCSS
$custom: #8f50ca; $custom-light: #b484db; $custom-dark: #000000;
JSON
{
"hex": "#8f50ca",
"rgb": {
"r": 143,
"g": 80,
"b": 202
},
"hsl": {
"h": 270.984,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.56218,
"c": 0.18479,
"h": 305
},
"luminance": 0.15841
}Semantic roles & 50–950 ramp
primary
#8F50CA
secondary
#BAD4A1
accent
#DD4B92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83