#8D42CF#8D42CF
#8D42CF is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.209 H 304.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8D42CF |
|---|---|
| RGB | rgb(141, 66, 207) |
| HSL | hsl(272, 59%, 54%) |
| HSV | hsv(272, 68%, 81%) |
| CMYK | cmyk(31.9%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(44.33, 56.85, -60.38) |
| CIE-LCH | lch(44.33, 82.93, 313.28°) |
| OKLab | oklab(54.51% 0.1188 -0.1715) |
| OKLCH | oklch(54.51% 0.209 304.7) |
| XYZ | xyz(24.1927, 14.0643, 60.4595) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.14
Blueviolet
#8A2BE2
ΔE00 4.26
Violet (survey)
#9A0EEA
ΔE00 5.64
Purply
#983FB2
ΔE00 5.68
Purpley
#8756E4
ΔE00 5.95
Bluish Purple
#703BE7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D42CF #84CF42
analogous
#4642CF #8D42CF #CF42CA
triadic
#8D42CF #CF8D42 #42CF8D
tetradic
#8D42CF #CF4642 #84CF42 #42CACF
square
#8D42CF #CF4642 #84CF42 #42CACF
split-complementary
#8D42CF #CACF42 #42CF46
monochromatic
#4E1F78 #6E2BA9 #8D42CF #AA73DB #C8A4E8
Accessibility & contrast
On white
5.51
#8D42CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#8D42CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D42CF
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D42CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D42CF | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0869CC
Tritanopia (blue-blind)
#816283
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8d42cf; /* rgb */ color: rgb(141, 66, 207); /* oklch */ color: oklch(54.5% 0.209 304.7);
Tailwind
colors: {
custom: {
50: '#b37cde',
500: '#8d42cf',
950: '#000000',
},
}SCSS
$custom: #8d42cf; $custom-light: #b37cde; $custom-dark: #000000;
JSON
{
"hex": "#8d42cf",
"rgb": {
"r": 141,
"g": 66,
"b": 207
},
"hsl": {
"h": 271.915,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.54509,
"c": 0.20864,
"h": 304.7
},
"luminance": 0.14064
}Semantic roles & 50–950 ramp
primary
#8D42CF
secondary
#B4D598
accent
#E3458F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83