#8045AE#8045AE

#8045AE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.165 H 307.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8045AE
RGBrgb(128, 69, 174)
HSLhsl(274, 43%, 48%)
HSVhsv(274, 60%, 68%)
CMYKcmyk(26.4%, 60.3%, 0%, 31.8%)
CIE-LABlab(41.06, 44.70, -46.45)
CIE-LCHlch(41.06, 64.47, 313.90°)
OKLaboklab(51.1% 0.1004 -0.131)
OKLCHoklch(51.1% 0.165 307.5)
XYZxyz(18.6686, 11.9017, 41.3500)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045AE #73AE45
analogous
#4B45AE #8045AE #AE45A8
triadic
#8045AE #AE8045 #45AE80
tetradic
#8045AE #AE4B45 #73AE45 #45A8AE
square
#8045AE #AE4B45 #73AE45 #45A8AE
split-complementary
#8045AE #A8AE45 #45AE4B
monochromatic
#402256 #603482 #8045AE #9E6CC5 #BB97D6

Accessibility & contrast

On white

6.21
#8045AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8045AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045AE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045AE#FFFFFF#000000##FFFFFF
##8045AE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB1
Deuteranopia (green-blind)
#3461AC
Tritanopia (blue-blind)
#795973
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8045ae;
/* rgb */ color: rgb(128, 69, 174);
/* oklch */ color: oklch(51.1% 0.165 307.5);
Tailwind
colors: {
  custom: {
    50: '#a87cc7',
    500: '#8045ae',
    950: '#000000',
  },
}
SCSS
$custom: #8045ae;
$custom-light: #a87cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8045ae",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 273.714,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51102,
    "c": 0.16508,
    "h": 307.5
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#8045AE
secondary
#A4C28D
accent
#D3558C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8045AE

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

Preview Lab → · Contrast checker → · Palette generator →

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