#8047D1#8047D1

#8047D1 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.202 H 298.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8047D1
RGBrgb(128, 71, 209)
HSLhsl(265, 60%, 55%)
HSVhsv(265, 66%, 82%)
CMYKcmyk(38.8%, 66%, 0%, 18%)
CIE-LABlab(43.80, 52.29, -62.46)
CIE-LCHlch(43.80, 81.46, 309.94°)
OKLaboklab(53.83% 0.0957 -0.1781)
OKLCHoklch(53.83% 0.202 298.3)
XYZxyz(22.6610, 13.6988, 61.7595)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047D1 #98D147
analogous
#4753D1 #8047D1 #C547D1
triadic
#8047D1 #D18047 #47D180
tetradic
#8047D1 #D14753 #98D147 #47D1C5
square
#8047D1 #D14753 #98D147 #47D1C5
split-complementary
#8047D1 #D1C547 #53D147
monochromatic
#47207E #622CAF #8047D1 #A278DD #C4A9E9

Accessibility & contrast

On white

5.62
#8047D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8047D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047D1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047D1#FFFFFF#000000##FFFFFF
##8047D11.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#6D6786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8047d1;
/* rgb */ color: rgb(128, 71, 209);
/* oklch */ color: oklch(53.8% 0.202 298.3);
Tailwind
colors: {
  custom: {
    50: '#ab7ee0',
    500: '#8047d1',
    950: '#000000',
  },
}
SCSS
$custom: #8047d1;
$custom-light: #ab7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#8047d1",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 264.783,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53833,
    "c": 0.20214,
    "h": 298.3
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#8047D1
secondary
#BFD79D
accent
#E345A2
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8047D1

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

Preview Lab → · Contrast checker → · Palette generator →

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