#8C45CF#8C45CF
#8C45CF is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.205 H 304.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8C45CF |
|---|---|
| RGB | rgb(140, 69, 207) |
| HSL | hsl(271, 59%, 54%) |
| HSV | hsv(271, 67%, 81%) |
| CMYK | cmyk(32.4%, 66.7%, 0%, 18.8%) |
| CIE-LAB | lab(44.71, 55.23, -59.76) |
| CIE-LCH | lch(44.71, 81.37, 312.75°) |
| OKLab | oklab(54.76% 0.1143 -0.1697) |
| OKLCH | oklch(54.76% 0.205 304) |
| XYZ | xyz(24.2033, 14.3368, 60.5116) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.69
Blueviolet
#8A2BE2
ΔE00 4.69
Purpley
#8756E4
ΔE00 5.44
Purply
#983FB2
ΔE00 5.89
Violet (survey)
#9A0EEA
ΔE00 6.13
Bluish Purple
#703BE7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C45CF #88CF45
analogous
#4745CF #8C45CF #CF45CD
triadic
#8C45CF #CF8C45 #45CF8C
tetradic
#8C45CF #CF4745 #88CF45 #45CDCF
square
#8C45CF #CF4745 #88CF45 #45CDCF
split-complementary
#8C45CF #CDCF45 #45CF47
monochromatic
#4E207A #6D2CAB #8C45CF #AA76DC #C8A6E8
Accessibility & contrast
On white
5.43
#8C45CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#8C45CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C45CF
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C45CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C45CF | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#106ACC
Tritanopia (blue-blind)
#7F6484
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8c45cf; /* rgb */ color: rgb(140, 69, 207); /* oklch */ color: oklch(54.8% 0.205 304.0);
Tailwind
colors: {
custom: {
50: '#b27dde',
500: '#8c45cf',
950: '#000000',
},
}SCSS
$custom: #8c45cf; $custom-light: #b27dde; $custom-dark: #000000;
JSON
{
"hex": "#8c45cf",
"rgb": {
"r": 140,
"g": 69,
"b": 207
},
"hsl": {
"h": 270.87,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.54759,
"c": 0.20461,
"h": 304
},
"luminance": 0.14337
}Semantic roles & 50–950 ramp
primary
#8C45CF
secondary
#B7D59B
accent
#E24692
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83