#8A47C8#8A47C8

#8A47C8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.194 H 304.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A47C8
RGBrgb(138, 71, 200)
HSLhsl(271, 54%, 53%)
HSVhsv(271, 65%, 78%)
CMYKcmyk(31%, 64.5%, 0%, 21.6%)
CIE-LABlab(44.35, 52.17, -56.32)
CIE-LCHlch(44.35, 76.77, 312.81°)
OKLaboklab(54.29% 0.1101 -0.1597)
OKLCHoklch(54.29% 0.194 304.6)
XYZxyz(23.1575, 14.0800, 56.1301)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47C8 #85C847
analogous
#4947C8 #8A47C8 #C847C5
triadic
#8A47C8 #C88A47 #47C88A
tetradic
#8A47C8 #C84947 #85C847 #47C5C8
square
#8A47C8 #C84947 #85C847 #47C5C8
split-complementary
#8A47C8 #C5C847 #47C849
monochromatic
#4C2272 #6B30A2 #8A47C8 #A876D6 #C6A5E4

Accessibility & contrast

On white

5.50
#8A47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8A47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A47C8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47C8#FFFFFF#000000##FFFFFF
##8A47C81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#2269C5
Tritanopia (blue-blind)
#7F6381
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a47c8;
/* rgb */ color: rgb(138, 71, 200);
/* oklch */ color: oklch(54.3% 0.194 304.6);
Tailwind
colors: {
  custom: {
    50: '#b07ed9',
    500: '#8a47c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a47c8;
$custom-light: #b07ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47c8",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 271.163,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.19394,
    "h": 304.6
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#8A47C8
secondary
#B4D19A
accent
#DD4A91
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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