#8A46CF#8A46CF
#8A46CF is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.203 H 303.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46CF |
|---|---|
| RGB | rgb(138, 70, 207) |
| HSL | hsl(270, 59%, 54%) |
| HSV | hsv(270, 66%, 81%) |
| CMYK | cmyk(33.3%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(44.64, 54.33, -59.88) |
| CIE-LCH | lch(44.64, 80.85, 312.22°) |
| OKLab | oklab(54.66% 0.1105 -0.1701) |
| OKLCH | oklch(54.66% 0.203 303) |
| XYZ | xyz(23.9313, 14.2886, 60.5166) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.04
Blueviolet
#8A2BE2
ΔE00 4.75
Purpley
#8756E4
ΔE00 5.24
Bluish Purple
#703BE7
ΔE00 6.02
Purply
#983FB2
ΔE00 6.15
Violet (survey)
#9A0EEA
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46CF #8BCF46
analogous
#4647CF #8A46CF #CE46CF
triadic
#8A46CF #CF8A46 #46CF8A
tetradic
#8A46CF #CF4647 #8BCF46 #46CFCE
square
#8A46CF #CF4647 #8BCF46 #46CFCE
split-complementary
#8A46CF #CFCE46 #47CF46
monochromatic
#4D207B #6B2CAB #8A46CF #A977DC #C7A7E8
Accessibility & contrast
On white
5.44
#8A46CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#8A46CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46CF
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46CF | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0C69CC
Tritanopia (blue-blind)
#7C6585
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a46cf; /* rgb */ color: rgb(138, 70, 207); /* oklch */ color: oklch(54.7% 0.203 303.0);
Tailwind
colors: {
custom: {
50: '#b17ede',
500: '#8a46cf',
950: '#000000',
},
}SCSS
$custom: #8a46cf; $custom-light: #b17ede; $custom-dark: #000000;
JSON
{
"hex": "#8a46cf",
"rgb": {
"r": 138,
"g": 70,
"b": 207
},
"hsl": {
"h": 269.781,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.54656,
"c": 0.20289,
"h": 303
},
"luminance": 0.14289
}Semantic roles & 50–950 ramp
primary
#8A46CF
secondary
#B9D59B
accent
#E24694
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83