#8049D5#8049D5

#8049D5 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.204 H 297.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8049D5
RGBrgb(128, 73, 213)
HSLhsl(264, 63%, 56%)
HSVhsv(264, 66%, 84%)
CMYKcmyk(39.9%, 65.7%, 0%, 16.5%)
CIE-LABlab(44.46, 52.29, -63.68)
CIE-LCHlch(44.46, 82.40, 309.39°)
OKLaboklab(54.4% 0.0931 -0.1817)
OKLCHoklch(54.4% 0.204 297.1)
XYZxyz(23.2918, 14.1580, 64.4435)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049D5 #9ED549
analogous
#4958D5 #8049D5 #C649D5
triadic
#8049D5 #D58049 #49D580
tetradic
#8049D5 #D54958 #9ED549 #49D5C6
square
#8049D5 #D54958 #9ED549 #49D5C6
split-complementary
#8049D5 #D5C649 #58D549
monochromatic
#471F85 #612AB7 #8049D5 #A37BE0 #C5ACEC

Accessibility & contrast

On white

5.48
#8049D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8049D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049D5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049D5#FFFFFF#000000##FFFFFF
##8049D51.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#6B6A89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8049d5;
/* rgb */ color: rgb(128, 73, 213);
/* oklch */ color: oklch(54.4% 0.204 297.1);
Tailwind
colors: {
  custom: {
    50: '#ab7fe3',
    500: '#8049d5',
    950: '#000000',
  },
}
SCSS
$custom: #8049d5;
$custom-light: #ab7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8049d5",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 263.571,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.20414,
    "h": 297.1
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#8049D5
secondary
#C3DAA0
accent
#E642A5
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8049D5

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

Preview Lab → · Contrast checker → · Palette generator →

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