#8A47CE#8A47CE

#8A47CE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.201 H 303.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A47CE
RGBrgb(138, 71, 206)
HSLhsl(270, 58%, 54%)
HSVhsv(270, 66%, 81%)
CMYKcmyk(33%, 65.5%, 0%, 19.2%)
CIE-LABlab(44.75, 53.60, -59.13)
CIE-LCHlch(44.75, 79.81, 312.19°)
OKLaboklab(54.71% 0.1095 -0.1679)
OKLCHoklch(54.71% 0.201 303.1)
XYZxyz(23.8725, 14.3660, 59.8958)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47CE #8BCE47
analogous
#4748CE #8A47CE #CE47CE
triadic
#8A47CE #CE8A47 #47CE8A
tetradic
#8A47CE #CE4748 #8BCE47 #47CECE
square
#8A47CE #CE4748 #8BCE47 #47CECE
split-complementary
#8A47CE #CECE47 #48CE47
monochromatic
#4D217A #6B2DAA #8A47CE #A977DB #C7A8E8

Accessibility & contrast

On white

5.42
#8A47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8A47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A47CE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47CE#FFFFFF#000000##FFFFFF
##8A47CE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#146ACB
Tritanopia (blue-blind)
#7D6584
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a47ce;
/* rgb */ color: rgb(138, 71, 206);
/* oklch */ color: oklch(54.7% 0.201 303.1);
Tailwind
colors: {
  custom: {
    50: '#b17ede',
    500: '#8a47ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a47ce;
$custom-light: #b17ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47ce",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 269.778,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.2005,
    "h": 303.1
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#8A47CE
secondary
#B9D59C
accent
#E14794
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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