#8046AC#8046AC

#8046AC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.161 H 307.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8046AC
RGBrgb(128, 70, 172)
HSLhsl(274, 42%, 47%)
HSVhsv(274, 59%, 67%)
CMYKcmyk(25.6%, 59.3%, 0%, 32.5%)
CIE-LABlab(41.13, 43.69, -45.15)
CIE-LCHlch(41.13, 62.83, 314.06°)
OKLaboklab(51.12% 0.0991 -0.1272)
OKLCHoklch(51.12% 0.161 307.9)
XYZxyz(18.5371, 11.9483, 40.3514)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046AC #72AC46
analogous
#4D46AC #8046AC #AC46A5
triadic
#8046AC #AC8046 #46AC80
tetradic
#8046AC #AC4D46 #72AC46 #46A5AC
square
#8046AC #AC4D46 #72AC46 #46A5AC
split-complementary
#8046AC #A5AC46 #46AC4D
monochromatic
#3F2355 #603481 #8046AC #9E6CC3 #BA98D5

Accessibility & contrast

On white

6.20
#8046AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8046AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8046AC#FFFFFF#000000##FFFFFF
##8046AC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FAF
Deuteranopia (green-blind)
#3762AA
Tritanopia (blue-blind)
#795972
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8046ac;
/* rgb */ color: rgb(128, 70, 172);
/* oklch */ color: oklch(51.1% 0.161 307.9);
Tailwind
colors: {
  custom: {
    50: '#a87cc5',
    500: '#8046ac',
    950: '#000000',
  },
}
SCSS
$custom: #8046ac;
$custom-light: #a87cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8046ac",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 274.118,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.16128,
    "h": 307.9
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#8046AC
secondary
#A3C18D
accent
#D2568B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8046AC

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

Preview Lab → · Contrast checker → · Palette generator →

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