#8045CA#8045CA

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

Color values

HEX#8045CA
RGBrgb(128, 69, 202)
HSLhsl(267, 56%, 53%)
HSVhsv(267, 66%, 79%)
CMYKcmyk(36.6%, 65.8%, 0%, 20.8%)
CIE-LABlab(42.93, 51.54, -59.83)
CIE-LCHlch(42.93, 78.97, 310.74°)
OKLaboklab(53.05% 0.0987 -0.1703)
OKLCHoklch(53.05% 0.197 300.1)
XYZxyz(21.6883, 13.1095, 57.2534)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045CA #8FCA45
analogous
#454CCA #8045CA #C345CA
triadic
#8045CA #CA8045 #45CA80
tetradic
#8045CA #CA454C #8FCA45 #45CAC3
square
#8045CA #CA454C #8FCA45 #45CAC3
split-complementary
#8045CA #CAC345 #4CCA45
monochromatic
#462174 #622FA3 #8045CA #A175D8 #C1A4E5

Accessibility & contrast

On white

5.80
#8045CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8045CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045CA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045CA#FFFFFF#000000##FFFFFF
##8045CA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#706382
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8045ca;
/* rgb */ color: rgb(128, 69, 202);
/* oklch */ color: oklch(53.0% 0.197 300.1);
Tailwind
colors: {
  custom: {
    50: '#aa7cdb',
    500: '#8045ca',
    950: '#000000',
  },
}
SCSS
$custom: #8045ca;
$custom-light: #aa7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8045ca",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 266.617,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.19684,
    "h": 300.1
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#8045CA
secondary
#B9D299
accent
#DF499C
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8045CA

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

Preview Lab → · Contrast checker → · Palette generator →

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