#8049D9#8049D9

#8049D9 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.209 H 296.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8049D9
RGBrgb(128, 73, 217)
HSLhsl(263, 65%, 57%)
HSVhsv(263, 66%, 85%)
CMYKcmyk(41%, 66.4%, 0%, 14.9%)
CIE-LABlab(44.75, 53.32, -65.50)
CIE-LCHlch(44.75, 84.46, 309.15°)
OKLaboklab(54.7% 0.0926 -0.187)
OKLCHoklch(54.7% 0.209 296.3)
XYZxyz(23.8057, 14.3636, 67.1504)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049D9 #A2D949
analogous
#495AD9 #8049D9 #C849D9
triadic
#8049D9 #D98049 #49D980
tetradic
#8049D9 #D9495A #A2D949 #49D9C8
square
#8049D9 #D9495A #A2D949 #49D9C8
split-complementary
#8049D9 #D9C849 #5AD949
monochromatic
#471D8B #6128BD #8049D9 #A37CE4 #C7AEEE

Accessibility & contrast

On white

5.42
#8049D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8049D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049D9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049D9#FFFFFF#000000##FFFFFF
##8049D91.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#696B8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8049d9;
/* rgb */ color: rgb(128, 73, 217);
/* oklch */ color: oklch(54.7% 0.209 296.3);
Tailwind
colors: {
  custom: {
    50: '#ab7fe6',
    500: '#8049d9',
    950: '#000000',
  },
}
SCSS
$custom: #8049d9;
$custom-light: #ab7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8049d9",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 262.917,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.547,
    "c": 0.20868,
    "h": 296.3
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#8049D9
secondary
#C6DCA2
accent
#E83FA8
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8049D9

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

Preview Lab → · Contrast checker → · Palette generator →

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