#8049D6#8049D6

#8049D6 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.205 H 296.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8049D6
RGBrgb(128, 73, 214)
HSLhsl(263, 63%, 56%)
HSVhsv(263, 66%, 84%)
CMYKcmyk(40.2%, 65.9%, 0%, 16.1%)
CIE-LABlab(44.53, 52.55, -64.14)
CIE-LCHlch(44.53, 82.92, 309.33°)
OKLaboklab(54.47% 0.093 -0.183)
OKLCHoklch(54.47% 0.205 296.9)
XYZxyz(23.4191, 14.2089, 65.1140)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049D6 #9FD649
analogous
#4959D6 #8049D6 #C749D6
triadic
#8049D6 #D68049 #49D680
tetradic
#8049D6 #D64959 #9FD649 #49D6C7
square
#8049D6 #D64959 #9FD649 #49D6C7
split-complementary
#8049D6 #D6C749 #59D649
monochromatic
#471E86 #612AB8 #8049D6 #A37BE1 #C6ADED

Accessibility & contrast

On white

5.47
#8049D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8049D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049D6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049D6#FFFFFF#000000##FFFFFF
##8049D61.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#6B6A89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8049d6;
/* rgb */ color: rgb(128, 73, 214);
/* oklch */ color: oklch(54.5% 0.205 296.9);
Tailwind
colors: {
  custom: {
    50: '#ab7fe4',
    500: '#8049d6',
    950: '#000000',
  },
}
SCSS
$custom: #8049d6;
$custom-light: #ab7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8049d6",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 214
  },
  "hsl": {
    "h": 263.404,
    "s": 63.229,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54474,
    "c": 0.20528,
    "h": 296.9
  },
  "luminance": 0.14209
}

Semantic roles & 50–950 ramp

primary
#8049D6
secondary
#C4DAA0
accent
#E642A6
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8049D6

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

Preview Lab → · Contrast checker → · Palette generator →

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