#8B46CF#8B46CF
#8B46CF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.203 H 303.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8B46CF |
|---|---|
| RGB | rgb(139, 70, 207) |
| HSL | hsl(270, 59%, 54%) |
| HSV | hsv(270, 66%, 81%) |
| CMYK | cmyk(32.9%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(44.77, 54.54, -59.68) |
| CIE-LCH | lch(44.77, 80.84, 312.42°) |
| OKLab | oklab(54.77% 0.1119 -0.1695) |
| OKLCH | oklch(54.77% 0.203 303.4) |
| XYZ | xyz(24.0975, 14.3743, 60.5244) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.94
Blueviolet
#8A2BE2
ΔE00 4.80
Purpley
#8756E4
ΔE00 5.26
Purply
#983FB2
ΔE00 6.04
Bluish Purple
#703BE7
ΔE00 6.18
Violet (survey)
#9A0EEA
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B46CF #8ACF46
analogous
#4746CF #8B46CF #CF46CE
triadic
#8B46CF #CF8B46 #46CF8B
tetradic
#8B46CF #CF4746 #8ACF46 #46CECF
square
#8B46CF #CF4746 #8ACF46 #46CECF
split-complementary
#8B46CF #CECF46 #46CF47
monochromatic
#4E207B #6C2CAB #8B46CF #A977DC #C8A7E8
Accessibility & contrast
On white
5.42
#8B46CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#8B46CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B46CF
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B46CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B46CF | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#106ACC
Tritanopia (blue-blind)
#7E6585
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8b46cf; /* rgb */ color: rgb(139, 70, 207); /* oklch */ color: oklch(54.8% 0.203 303.4);
Tailwind
colors: {
custom: {
50: '#b27ede',
500: '#8b46cf',
950: '#000000',
},
}SCSS
$custom: #8b46cf; $custom-light: #b27ede; $custom-dark: #000000;
JSON
{
"hex": "#8b46cf",
"rgb": {
"r": 139,
"g": 70,
"b": 207
},
"hsl": {
"h": 270.219,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.5477,
"c": 0.2031,
"h": 303.4
},
"luminance": 0.14374
}Semantic roles & 50–950 ramp
primary
#8B46CF
secondary
#B8D59B
accent
#E24693
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83