#8049C8#8049C8

#8049C8 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.189 H 299.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8049C8
RGBrgb(128, 73, 200)
HSLhsl(266, 54%, 54%)
HSVhsv(266, 64%, 78%)
CMYKcmyk(36%, 63.5%, 0%, 21.6%)
CIE-LABlab(43.54, 48.98, -57.68)
CIE-LCHlch(43.54, 75.67, 310.34°)
OKLaboklab(53.45% 0.0944 -0.164)
OKLCHoklch(53.45% 0.189 299.9)
XYZxyz(21.7074, 13.5242, 56.0992)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049C8 #91C849
analogous
#4951C8 #8049C8 #BF49C8
triadic
#8049C8 #C88049 #49C880
tetradic
#8049C8 #C84951 #91C849 #49C8BF
square
#8049C8 #C84951 #91C849 #49C8BF
split-complementary
#8049C8 #C8BF49 #51C849
monochromatic
#462374 #6231A3 #8049C8 #A178D6 #C2A7E4

Accessibility & contrast

On white

5.67
#8049C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8049C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049C8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049C8#FFFFFF#000000##FFFFFF
##8049C81.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0F66C5
Tritanopia (blue-blind)
#706582
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8049c8;
/* rgb */ color: rgb(128, 73, 200);
/* oklch */ color: oklch(53.4% 0.189 299.9);
Tailwind
colors: {
  custom: {
    50: '#aa7fd9',
    500: '#8049c8',
    950: '#000000',
  },
}
SCSS
$custom: #8049c8;
$custom-light: #aa7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8049c8",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 265.984,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.18923,
    "h": 299.9
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#8049C8
secondary
#BAD29B
accent
#DD4B9E
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8049C8

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

Preview Lab → · Contrast checker → · Palette generator →

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