#8049D2#8049D2

#8049D2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.201 H 297.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8049D2
RGBrgb(128, 73, 210)
HSLhsl(264, 60%, 55%)
HSVhsv(264, 65%, 82%)
CMYKcmyk(39%, 65.2%, 0%, 17.6%)
CIE-LABlab(44.24, 51.52, -62.31)
CIE-LCHlch(44.24, 80.85, 309.59°)
OKLaboklab(54.18% 0.0935 -0.1776)
OKLCHoklch(54.18% 0.201 297.8)
XYZxyz(22.9145, 14.0071, 62.4566)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049D2 #9BD249
analogous
#4956D2 #8049D2 #C549D2
triadic
#8049D2 #D28049 #49D280
tetradic
#8049D2 #D24956 #9BD249 #49D2C5
square
#8049D2 #D24956 #9BD249 #49D2C5
split-complementary
#8049D2 #D2C549 #56D249
monochromatic
#472081 #622CB2 #8049D2 #A27ADE #C4ABEA

Accessibility & contrast

On white

5.52
#8049D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8049D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049D2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049D2#FFFFFF#000000##FFFFFF
##8049D21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#6C6987
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8049d2;
/* rgb */ color: rgb(128, 73, 210);
/* oklch */ color: oklch(54.2% 0.201 297.8);
Tailwind
colors: {
  custom: {
    50: '#ab7fe1',
    500: '#8049d2',
    950: '#000000',
  },
}
SCSS
$custom: #8049d2;
$custom-light: #ab7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8049d2",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 264.088,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.20072,
    "h": 297.8
  },
  "luminance": 0.14007
}

Semantic roles & 50–950 ramp

primary
#8049D2
secondary
#C1D89F
accent
#E344A4
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8049D2

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

Preview Lab → · Contrast checker → · Palette generator →

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