#8A47D0#8A47D0

#8A47D0 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.203 H 302.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A47D0
RGBrgb(138, 71, 208)
HSLhsl(269, 59%, 55%)
HSVhsv(269, 66%, 82%)
CMYKcmyk(33.7%, 65.9%, 0%, 18.4%)
CIE-LABlab(44.89, 54.08, -60.06)
CIE-LCHlch(44.89, 80.82, 312.00°)
OKLaboklab(54.86% 0.1093 -0.1707)
OKLCHoklch(54.86% 0.203 302.6)
XYZxyz(24.1170, 14.4638, 61.1835)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47D0 #8DD047
analogous
#4749D0 #8A47D0 #CE47D0
triadic
#8A47D0 #D08A47 #47D08A
tetradic
#8A47D0 #D04749 #8DD047 #47D0CE
square
#8A47D0 #D04749 #8DD047 #47D0CE
split-complementary
#8A47D0 #D0CE47 #49D047
monochromatic
#4D207D #6B2CAD #8A47D0 #A978DC #C8A8E9

Accessibility & contrast

On white

5.39
#8A47D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8A47D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A47D0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47D0#FFFFFF#000000##FFFFFF
##8A47D01.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#0C6ACD
Tritanopia (blue-blind)
#7C6685
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a47d0;
/* rgb */ color: rgb(138, 71, 208);
/* oklch */ color: oklch(54.9% 0.203 302.6);
Tailwind
colors: {
  custom: {
    50: '#b17edf',
    500: '#8a47d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a47d0;
$custom-light: #b17edf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47d0",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 208
  },
  "hsl": {
    "h": 269.343,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.20268,
    "h": 302.6
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#8A47D0
secondary
#BAD69D
accent
#E24596
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A47D0

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

Preview Lab → · Contrast checker → · Palette generator →

#8A47D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva