#8047D4#8047D4

#8047D4 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.206 H 297.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8047D4
RGBrgb(128, 71, 212)
HSLhsl(264, 62%, 55%)
HSVhsv(264, 67%, 83%)
CMYKcmyk(39.6%, 66.5%, 0%, 16.9%)
CIE-LABlab(44.02, 53.05, -63.83)
CIE-LCHlch(44.02, 83.00, 309.73°)
OKLaboklab(54.06% 0.0953 -0.1821)
OKLCHoklch(54.06% 0.206 297.6)
XYZxyz(23.0359, 13.8488, 63.7340)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047D4 #9BD447
analogous
#4754D4 #8047D4 #C647D4
triadic
#8047D4 #D48047 #47D480
tetradic
#8047D4 #D44754 #9BD447 #47D4C6
square
#8047D4 #D44754 #9BD447 #47D4C6
split-complementary
#8047D4 #D4C647 #54D447
monochromatic
#471E82 #622AB4 #8047D4 #A279E0 #C4AAEB

Accessibility & contrast

On white

5.57
#8047D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8047D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047D4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047D4#FFFFFF#000000##FFFFFF
##8047D41.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#6B6888
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8047d4;
/* rgb */ color: rgb(128, 71, 212);
/* oklch */ color: oklch(54.1% 0.206 297.6);
Tailwind
colors: {
  custom: {
    50: '#ab7ee2',
    500: '#8047d4',
    950: '#000000',
  },
}
SCSS
$custom: #8047d4;
$custom-light: #ab7ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8047d4",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 264.255,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54057,
    "c": 0.20553,
    "h": 297.6
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#8047D4
secondary
#C1D99E
accent
#E543A3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8047D4

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

Preview Lab → · Contrast checker → · Palette generator →

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