#8045C9#8045C9

#8045C9 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.196 H 300.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8045C9
RGBrgb(128, 69, 201)
HSLhsl(267, 55%, 53%)
HSVhsv(267, 66%, 79%)
CMYKcmyk(36.3%, 65.7%, 0%, 21.2%)
CIE-LABlab(42.86, 51.29, -59.36)
CIE-LCHlch(42.86, 78.45, 310.83°)
OKLaboklab(52.98% 0.0988 -0.1689)
OKLCHoklch(52.98% 0.196 300.3)
XYZxyz(21.5702, 13.0623, 56.6319)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045C9 #8EC945
analogous
#454CC9 #8045C9 #C245C9
triadic
#8045C9 #C98045 #45C980
tetradic
#8045C9 #C9454C #8EC945 #45C9C2
square
#8045C9 #C9454C #8EC945 #45C9C2
split-complementary
#8045C9 #C9C245 #4CC945
monochromatic
#452172 #622FA2 #8045C9 #A074D7 #C1A4E5

Accessibility & contrast

On white

5.81
#8045C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8045C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045C9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045C9#FFFFFF#000000##FFFFFF
##8045C91.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#706381
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8045c9;
/* rgb */ color: rgb(128, 69, 201);
/* oklch */ color: oklch(53.0% 0.196 300.3);
Tailwind
colors: {
  custom: {
    50: '#aa7cda',
    500: '#8045c9',
    950: '#000000',
  },
}
SCSS
$custom: #8045c9;
$custom-light: #aa7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#8045c9",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 266.818,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.19571,
    "h": 300.3
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#8045C9
secondary
#B8D198
accent
#DE499C
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8045C9

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

Preview Lab → · Contrast checker → · Palette generator →

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