#8047D8#8047D8

#8047D8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.210 H 296.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8047D8
RGBrgb(128, 71, 216)
HSLhsl(264, 65%, 56%)
HSVhsv(264, 67%, 85%)
CMYKcmyk(40.7%, 67.1%, 0%, 15.3%)
CIE-LABlab(44.31, 54.08, -65.64)
CIE-LCHlch(44.31, 85.05, 309.48°)
OKLaboklab(54.36% 0.0948 -0.1874)
OKLCHoklch(54.36% 0.21 296.8)
XYZxyz(23.5468, 14.0531, 66.4244)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047D8 #9FD847
analogous
#4757D8 #8047D8 #C847D8
triadic
#8047D8 #D88047 #47D880
tetradic
#8047D8 #D84757 #9FD847 #47D8C8
square
#8047D8 #D84757 #9FD847 #47D8C8
split-complementary
#8047D8 #D8C847 #57D847
monochromatic
#471D88 #6127BA #8047D8 #A379E3 #C6ACED

Accessibility & contrast

On white

5.51
#8047D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8047D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047D8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047D8#FFFFFF#000000##FFFFFF
##8047D81.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)
#0069DC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#6A6A8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8047d8;
/* rgb */ color: rgb(128, 71, 216);
/* oklch */ color: oklch(54.4% 0.210 296.8);
Tailwind
colors: {
  custom: {
    50: '#ab7ee5',
    500: '#8047d8',
    950: '#000000',
  },
}
SCSS
$custom: #8047d8;
$custom-light: #ab7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#8047d8",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 263.586,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5436,
    "c": 0.21003,
    "h": 296.8
  },
  "luminance": 0.14054
}

Semantic roles & 50–950 ramp

primary
#8047D8
secondary
#C4DBA0
accent
#E840A6
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8047D8

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

Preview Lab → · Contrast checker → · Palette generator →

#8047D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva