#8045AD#8045AD

#8045AD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.164 H 307.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8045AD
RGBrgb(128, 69, 173)
HSLhsl(274, 43%, 47%)
HSVhsv(274, 60%, 68%)
CMYKcmyk(26%, 60.1%, 0%, 32.2%)
CIE-LABlab(41.00, 44.46, -45.96)
CIE-LCHlch(41.00, 63.95, 314.05°)
OKLaboklab(51.04% 0.1004 -0.1296)
OKLCHoklch(51.04% 0.164 307.8)
XYZxyz(18.5715, 11.8628, 40.8385)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045AD #72AD45
analogous
#4C45AD #8045AD #AD45A6
triadic
#8045AD #AD8045 #45AD80
tetradic
#8045AD #AD4C45 #72AD45 #45A6AD
square
#8045AD #AD4C45 #72AD45 #45A6AD
split-complementary
#8045AD #A6AD45 #45AD4C
monochromatic
#3F2255 #603481 #8045AD #9E6BC4 #BA97D5

Accessibility & contrast

On white

6.23
#8045AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8045AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045AD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045AD#FFFFFF#000000##FFFFFF
##8045AD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195EB0
Deuteranopia (green-blind)
#3561AB
Tritanopia (blue-blind)
#795972
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8045ad;
/* rgb */ color: rgb(128, 69, 173);
/* oklch */ color: oklch(51.0% 0.164 307.8);
Tailwind
colors: {
  custom: {
    50: '#a87cc6',
    500: '#8045ad',
    950: '#000000',
  },
}
SCSS
$custom: #8045ad;
$custom-light: #a87cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8045ad",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 274.038,
    "s": 42.975,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.16394,
    "h": 307.8
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#8045AD
secondary
#A3C18C
accent
#D3558B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8045AD

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

Preview Lab → · Contrast checker → · Palette generator →

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