#8F45CF#8F45CF
#8F45CF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.205 H 305.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8F45CF |
|---|---|
| RGB | rgb(143, 69, 207) |
| HSL | hsl(272, 59%, 54%) |
| HSV | hsv(272, 67%, 81%) |
| CMYK | cmyk(30.9%, 66.7%, 0%, 18.8%) |
| CIE-LAB | lab(45.08, 55.85, -59.14) |
| CIE-LCH | lch(45.08, 81.35, 313.36°) |
| OKLab | oklab(55.11% 0.1183 -0.1678) |
| OKLCH | oklch(55.11% 0.205 305.2) |
| XYZ | xyz(24.7158, 14.6010, 60.5356) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.46
Blueviolet
#8A2BE2
ΔE00 4.91
Purpley
#8756E4
ΔE00 5.52
Purply
#983FB2
ΔE00 5.59
Violet (survey)
#9A0EEA
ΔE00 6.13
Vibrant Purple
#AD03DE
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F45CF #85CF45
analogous
#4A45CF #8F45CF #CF45CA
triadic
#8F45CF #CF8F45 #45CF8F
tetradic
#8F45CF #CF4A45 #85CF45 #45CACF
square
#8F45CF #CF4A45 #85CF45 #45CACF
split-complementary
#8F45CF #CACF45 #45CF4A
monochromatic
#50207A #702CAB #8F45CF #AC76DC #CAA6E8
Accessibility & contrast
On white
5.36
#8F45CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#8F45CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F45CF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F45CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F45CF | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#196BCC
Tritanopia (blue-blind)
#836384
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8f45cf; /* rgb */ color: rgb(143, 69, 207); /* oklch */ color: oklch(55.1% 0.205 305.2);
Tailwind
colors: {
custom: {
50: '#b47ede',
500: '#8f45cf',
950: '#000000',
},
}SCSS
$custom: #8f45cf; $custom-light: #b47ede; $custom-dark: #000000;
JSON
{
"hex": "#8f45cf",
"rgb": {
"r": 143,
"g": 69,
"b": 207
},
"hsl": {
"h": 272.174,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.55106,
"c": 0.2053,
"h": 305.2
},
"luminance": 0.14601
}Semantic roles & 50–950 ramp
primary
#8F45CF
secondary
#B6D59B
accent
#E2468E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83