#8045E6#8045E6
#8045E6 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.228 H 294.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8045E6 |
|---|---|
| RGB | rgb(128, 69, 230) |
| HSL | hsl(262, 76%, 59%) |
| HSV | hsv(262, 70%, 90%) |
| CMYK | cmyk(44.3%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(45.02, 58.65, -72.45) |
| CIE-LCH | lch(45.02, 93.21, 308.99°) |
| OKLab | oklab(55.2% 0.0945 -0.2074) |
| OKLCH | oklch(55.2% 0.228 294.5) |
| XYZ | xyz(25.3093, 14.5579, 76.3240) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.42
Purpley
#8756E4
ΔE00 4.24
Blueviolet
#8A2BE2
ΔE00 4.42
Purpleish Blue
#6140EF
ΔE00 4.75
Burple
#6832E3
ΔE00 5.64
Violet
#8F00FF
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8045E6 #ABE645
analogous
#455AE6 #8045E6 #D145E6
triadic
#8045E6 #E68045 #45E680
tetradic
#8045E6 #E6455A #ABE645 #45E6D1
square
#8045E6 #E6455A #ABE645 #45E6D1
split-complementary
#8045E6 #E6D145 #5AE645
monochromatic
#46159C #5F1CD2 #8045E6 #A57BED #CAB1F5
Accessibility & contrast
On white
5.37
#8045E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#8045E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8045E6
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8045E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8045E6 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#636E91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8045e6; /* rgb */ color: rgb(128, 69, 230); /* oklch */ color: oklch(55.2% 0.228 294.5);
Tailwind
colors: {
custom: {
50: '#ad7def',
500: '#8045e6',
950: '#000000',
},
}SCSS
$custom: #8045e6; $custom-light: #ad7def; $custom-dark: #000000;
JSON
{
"hex": "#8045e6",
"rgb": {
"r": 128,
"g": 69,
"b": 230
},
"hsl": {
"h": 261.988,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.55203,
"c": 0.22792,
"h": 294.5
},
"luminance": 0.14559
}Semantic roles & 50–950 ramp
primary
#8045E6
secondary
#CCE3A4
accent
#F335AD
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85