#8046AF#8046AF
#8046AF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.165 H 307.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8046AF |
|---|---|
| RGB | rgb(128, 70, 175) |
| HSL | hsl(273, 43%, 48%) |
| HSV | hsv(273, 60%, 69%) |
| CMYK | cmyk(26.9%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(41.32, 44.41, -46.63) |
| CIE-LCH | lch(41.32, 64.39, 313.60°) |
| OKLab | oklab(51.31% 0.0991 -0.1316) |
| OKLCH | oklch(51.31% 0.165 307) |
| XYZ | xyz(18.8285, 12.0649, 41.8860) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.53
Purply
#983FB2
ΔE00 4.78
Darkorchid
#9932CC
ΔE00 6.11
Rebeccapurple
#663399
ΔE00 7.17
Deep Lavender
#8D5EB7
ΔE00 7.23
Bluey Purple
#6241C7
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8046AF #75AF46
analogous
#4C46AF #8046AF #AF46A9
triadic
#8046AF #AF8046 #46AF80
tetradic
#8046AF #AF4C46 #75AF46 #46A9AF
square
#8046AF #AF4C46 #75AF46 #46A9AF
split-complementary
#8046AF #A9AF46 #46AF4C
monochromatic
#402358 #603583 #8046AF #9E6DC5 #BB99D6
Accessibility & contrast
On white
6.15
#8046AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#8046AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8046AF
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8046AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8046AF | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#795A74
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8046af; /* rgb */ color: rgb(128, 70, 175); /* oklch */ color: oklch(51.3% 0.165 307.0);
Tailwind
colors: {
custom: {
50: '#a87cc7',
500: '#8046af',
950: '#000000',
},
}SCSS
$custom: #8046af; $custom-light: #a87cc7; $custom-dark: #000000;
JSON
{
"hex": "#8046af",
"rgb": {
"r": 128,
"g": 70,
"b": 175
},
"hsl": {
"h": 273.143,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.51311,
"c": 0.16472,
"h": 307
},
"luminance": 0.12065
}Semantic roles & 50–950 ramp
primary
#8046AF
secondary
#A6C28E
accent
#D3558D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82