#8047CF#8047CF
#8047CF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.200 H 298.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8047CF |
|---|---|
| RGB | rgb(128, 71, 207) |
| HSL | hsl(265, 59%, 55%) |
| HSV | hsv(265, 66%, 81%) |
| CMYK | cmyk(38.2%, 65.7%, 0%, 18.8%) |
| CIE-LAB | lab(43.65, 51.78, -61.54) |
| CIE-LCH | lch(43.65, 80.43, 310.08°) |
| OKLab | oklab(53.68% 0.0959 -0.1753) |
| OKLCH | oklch(53.68% 0.2 298.7) |
| XYZ | xyz(22.4150, 13.6004, 60.4636) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.75
Blueviolet
#8A2BE2
ΔE00 4.81
Purpley
#8756E4
ΔE00 5.26
Darkorchid
#9932CC
ΔE00 5.39
Bluey Purple
#6241C7
ΔE00 5.51
Light Indigo
#6D5ACF
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8047CF #96CF47
analogous
#4752CF #8047CF #C447CF
triadic
#8047CF #CF8047 #47CF80
tetradic
#8047CF #CF4752 #96CF47 #47CFC4
square
#8047CF #CF4752 #96CF47 #47CFC4
split-complementary
#8047CF #CFC447 #52CF47
monochromatic
#46207B #622DAC #8047CF #A278DC #C3A8E8
Accessibility & contrast
On white
5.64
#8047CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8047CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8047CF
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8047CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8047CF | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#6E6685
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8047cf; /* rgb */ color: rgb(128, 71, 207); /* oklch */ color: oklch(53.7% 0.200 298.7);
Tailwind
colors: {
custom: {
50: '#aa7edf',
500: '#8047cf',
950: '#000000',
},
}SCSS
$custom: #8047cf; $custom-light: #aa7edf; $custom-dark: #000000;
JSON
{
"hex": "#8047cf",
"rgb": {
"r": 128,
"g": 71,
"b": 207
},
"hsl": {
"h": 265.147,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.53684,
"c": 0.19988,
"h": 298.7
},
"luminance": 0.13601
}Semantic roles & 50–950 ramp
primary
#8047CF
secondary
#BED69C
accent
#E246A1
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83