#8049D8#8049D8

#8049D8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.208 H 296.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8049D8
RGBrgb(128, 73, 216)
HSLhsl(263, 65%, 57%)
HSVhsv(263, 66%, 85%)
CMYKcmyk(40.7%, 66.2%, 0%, 15.3%)
CIE-LABlab(44.68, 53.06, -65.05)
CIE-LCHlch(44.68, 83.94, 309.21°)
OKLaboklab(54.62% 0.0928 -0.1857)
OKLCHoklch(54.62% 0.208 296.5)
XYZxyz(23.6761, 14.3117, 66.4675)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049D8 #A1D849
analogous
#495AD8 #8049D8 #C849D8
triadic
#8049D8 #D88049 #49D880
tetradic
#8049D8 #D8495A #A1D849 #49D8C8
square
#8049D8 #D8495A #A1D849 #49D8C8
split-complementary
#8049D8 #D8C849 #5AD849
monochromatic
#471D89 #6128BC #8049D8 #A37BE3 #C6AEEE

Accessibility & contrast

On white

5.44
#8049D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8049D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049D8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049D8#FFFFFF#000000##FFFFFF
##8049D81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#6A6B8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8049d8;
/* rgb */ color: rgb(128, 73, 216);
/* oklch */ color: oklch(54.6% 0.208 296.5);
Tailwind
colors: {
  custom: {
    50: '#ab7fe5',
    500: '#8049d8',
    950: '#000000',
  },
}
SCSS
$custom: #8049d8;
$custom-light: #ab7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#8049d8",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 263.077,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.20755,
    "h": 296.5
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#8049D8
secondary
#C5DCA1
accent
#E840A7
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8049D8

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

Preview Lab → · Contrast checker → · Palette generator →

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