#8049CA#8049CA

#8049CA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.192 H 299.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8049CA
RGBrgb(128, 73, 202)
HSLhsl(266, 55%, 54%)
HSVhsv(266, 64%, 79%)
CMYKcmyk(36.6%, 63.9%, 0%, 20.8%)
CIE-LABlab(43.68, 49.48, -58.61)
CIE-LCHlch(43.68, 76.71, 310.17°)
OKLaboklab(53.59% 0.0942 -0.1667)
OKLCHoklch(53.59% 0.192 299.5)
XYZxyz(21.9427, 13.6183, 57.3382)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049CA #93CA49
analogous
#4953CA #8049CA #C149CA
triadic
#8049CA #CA8049 #49CA80
tetradic
#8049CA #CA4953 #93CA49 #49CAC1
square
#8049CA #CA4953 #93CA49 #49CAC1
split-complementary
#8049CA #CAC149 #53CA49
monochromatic
#462276 #6230A6 #8049CA #A178D8 #C2A8E6

Accessibility & contrast

On white

5.64
#8049CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8049CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049CA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049CA#FFFFFF#000000##FFFFFF
##8049CA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0766C7
Tritanopia (blue-blind)
#6F6683
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8049ca;
/* rgb */ color: rgb(128, 73, 202);
/* oklch */ color: oklch(53.6% 0.192 299.5);
Tailwind
colors: {
  custom: {
    50: '#aa7fdb',
    500: '#8049ca',
    950: '#000000',
  },
}
SCSS
$custom: #8049ca;
$custom-light: #aa7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8049ca",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 265.581,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53592,
    "c": 0.19154,
    "h": 299.5
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#8049CA
secondary
#BBD39C
accent
#DE4A9F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8049CA

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

Preview Lab → · Contrast checker → · Palette generator →

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