#8049D7#8049D7

#8049D7 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.206 H 296.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8049D7
RGBrgb(128, 73, 215)
HSLhsl(263, 64%, 56%)
HSVhsv(263, 66%, 84%)
CMYKcmyk(40.5%, 66%, 0%, 15.7%)
CIE-LABlab(44.60, 52.81, -64.59)
CIE-LCHlch(44.60, 83.43, 309.27°)
OKLaboklab(54.55% 0.0929 -0.1843)
OKLCHoklch(54.55% 0.206 296.7)
XYZxyz(23.5472, 14.2601, 65.7887)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049D7 #A0D749
analogous
#4959D7 #8049D7 #C749D7
triadic
#8049D7 #D78049 #49D780
tetradic
#8049D7 #D74959 #A0D749 #49D7C7
square
#8049D7 #D74959 #A0D749 #49D7C7
split-complementary
#8049D7 #D7C749 #59D749
monochromatic
#471E88 #6129BA #8049D7 #A37BE2 #C6ADED

Accessibility & contrast

On white

5.45
#8049D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8049D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049D7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049D7#FFFFFF#000000##FFFFFF
##8049D71.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#6A6A8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8049d7;
/* rgb */ color: rgb(128, 73, 215);
/* oklch */ color: oklch(54.5% 0.206 296.7);
Tailwind
colors: {
  custom: {
    50: '#ab7fe4',
    500: '#8049d7',
    950: '#000000',
  },
}
SCSS
$custom: #8049d7;
$custom-light: #ab7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8049d7",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 263.239,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54549,
    "c": 0.20642,
    "h": 296.7
  },
  "luminance": 0.14261
}

Semantic roles & 50–950 ramp

primary
#8049D7
secondary
#C4DBA1
accent
#E741A7
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8049D7

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

Preview Lab → · Contrast checker → · Palette generator →

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