#8A47C9#8A47C9

#8A47C9 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.195 H 304.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A47C9
RGBrgb(138, 71, 201)
HSLhsl(271, 55%, 53%)
HSVhsv(271, 65%, 79%)
CMYKcmyk(31.3%, 64.7%, 0%, 21.2%)
CIE-LABlab(44.41, 52.41, -56.79)
CIE-LCHlch(44.41, 77.27, 312.70°)
OKLaboklab(54.36% 0.11 -0.1611)
OKLCHoklch(54.36% 0.195 304.3)
XYZxyz(23.2747, 14.1269, 56.7476)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47C9 #86C947
analogous
#4947C9 #8A47C9 #C947C7
triadic
#8A47C9 #C98A47 #47C98A
tetradic
#8A47C9 #C94947 #86C947 #47C7C9
square
#8A47C9 #C94947 #86C947 #47C7C9
split-complementary
#8A47C9 #C7C947 #47C949
monochromatic
#4C2274 #6B30A3 #8A47C9 #A876D7 #C6A6E5

Accessibility & contrast

On white

5.49
#8A47C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8A47C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A47C9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47C9#FFFFFF#000000##FFFFFF
##8A47C91.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#2069C6
Tritanopia (blue-blind)
#7E6382
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a47c9;
/* rgb */ color: rgb(138, 71, 201);
/* oklch */ color: oklch(54.4% 0.195 304.3);
Tailwind
colors: {
  custom: {
    50: '#b17eda',
    500: '#8a47c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a47c9;
$custom-light: #b17eda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47c9",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 201
  },
  "hsl": {
    "h": 270.923,
    "s": 54.622,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54362,
    "c": 0.19503,
    "h": 304.3
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#8A47C9
secondary
#B5D29A
accent
#DE4A92
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A47C9

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

Preview Lab → · Contrast checker → · Palette generator →

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