#8044CA#8044CA

#8044CA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.198 H 300.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8044CA
RGBrgb(128, 68, 202)
HSLhsl(267, 56%, 53%)
HSVhsv(267, 66%, 79%)
CMYKcmyk(36.6%, 66.3%, 0%, 20.8%)
CIE-LABlab(42.74, 52.04, -60.12)
CIE-LCHlch(42.74, 79.52, 310.88°)
OKLaboklab(52.92% 0.0998 -0.1712)
OKLCHoklch(52.92% 0.198 300.2)
XYZxyz(21.6273, 12.9875, 57.2331)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8044CA #8ECA44
analogous
#444BCA #8044CA #C344CA
triadic
#8044CA #CA8044 #44CA80
tetradic
#8044CA #CA444B #8ECA44 #44CAC3
square
#8044CA #CA444B #8ECA44 #44CAC3
split-complementary
#8044CA #CAC344 #4BCA44
monochromatic
#452173 #622EA3 #8044CA #A074D8 #C1A3E5

Accessibility & contrast

On white

5.84
#8044CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8044CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8044CA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8044CA#FFFFFF#000000##FFFFFF
##8044CA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8044ca;
/* rgb */ color: rgb(128, 68, 202);
/* oklch */ color: oklch(52.9% 0.198 300.2);
Tailwind
colors: {
  custom: {
    50: '#aa7cdb',
    500: '#8044ca',
    950: '#000000',
  },
}
SCSS
$custom: #8044ca;
$custom-light: #aa7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8044ca",
  "rgb": {
    "r": 128,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 266.866,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.19813,
    "h": 300.2
  },
  "luminance": 0.12988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8044CA

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

Preview Lab → · Contrast checker → · Palette generator →

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