#8049D3#8049D3

#8049D3 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.202 H 297.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8049D3
RGBrgb(128, 73, 211)
HSLhsl(264, 61%, 56%)
HSVhsv(264, 65%, 83%)
CMYKcmyk(39.3%, 65.4%, 0%, 17.3%)
CIE-LABlab(44.31, 51.78, -62.77)
CIE-LCHlch(44.31, 81.37, 309.52°)
OKLaboklab(54.25% 0.0934 -0.179)
OKLCHoklch(54.25% 0.202 297.5)
XYZxyz(23.0395, 14.0571, 63.1148)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049D3 #9CD349
analogous
#4957D3 #8049D3 #C549D3
triadic
#8049D3 #D38049 #49D380
tetradic
#8049D3 #D34957 #9CD349 #49D3C5
square
#8049D3 #D34957 #9CD349 #49D3C5
split-complementary
#8049D3 #D3C549 #57D349
monochromatic
#471F82 #622BB3 #8049D3 #A27ADF #C5ACEB

Accessibility & contrast

On white

5.51
#8049D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8049D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049D3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049D3#FFFFFF#000000##FFFFFF
##8049D31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#6C6988
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8049d3;
/* rgb */ color: rgb(128, 73, 211);
/* oklch */ color: oklch(54.3% 0.202 297.5);
Tailwind
colors: {
  custom: {
    50: '#ab7fe1',
    500: '#8049d3',
    950: '#000000',
  },
}
SCSS
$custom: #8049d3;
$custom-light: #ab7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8049d3",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 211
  },
  "hsl": {
    "h": 263.913,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5425,
    "c": 0.20185,
    "h": 297.5
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#8049D3
secondary
#C2D99F
accent
#E444A4
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8049D3

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

Preview Lab → · Contrast checker → · Palette generator →

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