#8049D4#8049D4

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

Color values

HEX#8049D4
RGBrgb(128, 73, 212)
HSLhsl(264, 62%, 56%)
HSVhsv(264, 66%, 83%)
CMYKcmyk(39.6%, 65.6%, 0%, 16.9%)
CIE-LABlab(44.39, 52.04, -63.22)
CIE-LCHlch(44.39, 81.88, 309.46°)
OKLaboklab(54.32% 0.0932 -0.1803)
OKLCHoklch(54.32% 0.203 297.3)
XYZxyz(23.1652, 14.1074, 63.7771)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049D4 #9DD449
analogous
#4957D4 #8049D4 #C549D4
triadic
#8049D4 #D48049 #49D480
tetradic
#8049D4 #D44957 #9DD449 #49D4C5
square
#8049D4 #D44957 #9DD449 #49D4C5
split-complementary
#8049D4 #D4C549 #57D449
monochromatic
#471F84 #612BB5 #8049D4 #A37BE0 #C5ACEB

Accessibility & contrast

On white

5.50
#8049D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8049D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049D4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049D4#FFFFFF#000000##FFFFFF
##8049D41.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#6B6988
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8049d4;
/* rgb */ color: rgb(128, 73, 212);
/* oklch */ color: oklch(54.3% 0.203 297.3);
Tailwind
colors: {
  custom: {
    50: '#ab7fe2',
    500: '#8049d4',
    950: '#000000',
  },
}
SCSS
$custom: #8049d4;
$custom-light: #ab7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8049d4",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 263.741,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54324,
    "c": 0.203,
    "h": 297.3
  },
  "luminance": 0.14108
}

Semantic roles & 50–950 ramp

primary
#8049D4
secondary
#C2D9A0
accent
#E543A5
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8049D4

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

Preview Lab → · Contrast checker → · Palette generator →

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