#8046AD#8046AD

#8046AD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.162 H 307.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8046AD
RGBrgb(128, 70, 173)
HSLhsl(274, 42%, 48%)
HSVhsv(274, 60%, 68%)
CMYKcmyk(26%, 59.5%, 0%, 32.2%)
CIE-LABlab(41.20, 43.93, -45.65)
CIE-LCHlch(41.20, 63.35, 313.90°)
OKLaboklab(51.18% 0.0991 -0.1287)
OKLCHoklch(51.18% 0.162 307.6)
XYZxyz(18.6335, 11.9869, 40.8591)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046AD #73AD46
analogous
#4C46AD #8046AD #AD46A7
triadic
#8046AD #AD8046 #46AD80
tetradic
#8046AD #AD4C46 #73AD46 #46A7AD
square
#8046AD #AD4C46 #73AD46 #46A7AD
split-complementary
#8046AD #A7AD46 #46AD4C
monochromatic
#402356 #603481 #8046AD #9E6CC4 #BB98D5

Accessibility & contrast

On white

6.18
#8046AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8046AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8046AD#FFFFFF#000000##FFFFFF
##8046AD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5FB0
Deuteranopia (green-blind)
#3662AB
Tritanopia (blue-blind)
#795A73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8046ad;
/* rgb */ color: rgb(128, 70, 173);
/* oklch */ color: oklch(51.2% 0.162 307.6);
Tailwind
colors: {
  custom: {
    50: '#a87cc6',
    500: '#8046ad',
    950: '#000000',
  },
}
SCSS
$custom: #8046ad;
$custom-light: #a87cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8046ad",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 273.786,
    "s": 42.387,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.16243,
    "h": 307.6
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#8046AD
secondary
#A4C18D
accent
#D2568C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8046AD

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

Preview Lab → · Contrast checker → · Palette generator →

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