#8046AA#8046AA

#8046AA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.159 H 308.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8046AA
RGBrgb(128, 70, 170)
HSLhsl(275, 42%, 47%)
HSVhsv(275, 59%, 67%)
CMYKcmyk(24.7%, 58.8%, 0%, 33.3%)
CIE-LABlab(41.01, 43.22, -44.16)
CIE-LCHlch(41.01, 61.79, 314.38°)
OKLaboklab(50.99% 0.0991 -0.1243)
OKLCHoklch(50.99% 0.159 308.6)
XYZxyz(18.3465, 11.8721, 39.3475)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046AA #70AA46
analogous
#4E46AA #8046AA #AA46A2
triadic
#8046AA #AA8046 #46AA80
tetradic
#8046AA #AA4E46 #70AA46 #46A2AA
square
#8046AA #AA4E46 #70AA46 #46A2AA
split-complementary
#8046AA #A2AA46 #46AA4E
monochromatic
#3F2253 #5F347F #8046AA #9E6BC2 #BA96D4

Accessibility & contrast

On white

6.22
#8046AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8046AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046AA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046AA#FFFFFF#000000##FFFFFF
##8046AA1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAD
Deuteranopia (green-blind)
#3961A8
Tritanopia (blue-blind)
#7A5971
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8046aa;
/* rgb */ color: rgb(128, 70, 170);
/* oklch */ color: oklch(51.0% 0.159 308.6);
Tailwind
colors: {
  custom: {
    50: '#a87cc4',
    500: '#8046aa',
    950: '#000000',
  },
}
SCSS
$custom: #8046aa;
$custom-light: #a87cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8046aa",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 274.8,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50988,
    "c": 0.15899,
    "h": 308.6
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#8046AA
secondary
#A2C08C
accent
#D1568A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8046AA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8046AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva