#8049D1#8049D1

#8049D1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.200 H 298.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8049D1
RGBrgb(128, 73, 209)
HSLhsl(264, 60%, 55%)
HSVhsv(264, 65%, 82%)
CMYKcmyk(38.8%, 65.1%, 0%, 18%)
CIE-LABlab(44.17, 51.27, -61.85)
CIE-LCHlch(44.17, 80.33, 309.66°)
OKLaboklab(54.1% 0.0936 -0.1763)
OKLCHoklch(54.1% 0.2 298)
XYZxyz(22.7903, 13.9574, 61.8026)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049D1 #9AD149
analogous
#4956D1 #8049D1 #C449D1
triadic
#8049D1 #D18049 #49D180
tetradic
#8049D1 #D14956 #9AD149 #49D1C4
square
#8049D1 #D14956 #9AD149 #49D1C4
split-complementary
#8049D1 #D1C449 #56D149
monochromatic
#47207F #622DB0 #8049D1 #A27ADD #C4ABEA

Accessibility & contrast

On white

5.54
#8049D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8049D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049D1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049D1#FFFFFF#000000##FFFFFF
##8049D11.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#6D6887
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8049d1;
/* rgb */ color: rgb(128, 73, 209);
/* oklch */ color: oklch(54.1% 0.200 298.0);
Tailwind
colors: {
  custom: {
    50: '#ab7fe0',
    500: '#8049d1',
    950: '#000000',
  },
}
SCSS
$custom: #8049d1;
$custom-light: #ab7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8049d1",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 209
  },
  "hsl": {
    "h": 264.265,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.19957,
    "h": 298
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

primary
#8049D1
secondary
#C0D79E
accent
#E345A3
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8049D1

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

Preview Lab → · Contrast checker → · Palette generator →

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