#8D47CA#8D47CA

#8D47CA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.8% C 0.197 H 305.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8D47CA
RGBrgb(141, 71, 202)
HSLhsl(272, 55%, 54%)
HSVhsv(272, 65%, 79%)
CMYKcmyk(30.2%, 64.9%, 0%, 20.8%)
CIE-LABlab(44.85, 53.30, -56.65)
CIE-LCHlch(44.85, 77.78, 313.25°)
OKLaboklab(54.78% 0.1139 -0.1605)
OKLCHoklch(54.78% 0.197 305.4)
XYZxyz(23.8961, 14.4336, 57.3927)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47CA #84CA47
analogous
#4B47CA #8D47CA #CA47C5
triadic
#8D47CA #CA8D47 #47CA8D
tetradic
#8D47CA #CA4B47 #84CA47 #47C5CA
square
#8D47CA #CA4B47 #84CA47 #47C5CA
split-complementary
#8D47CA #C5CA47 #47CA4B
monochromatic
#4E2275 #6E2FA4 #8D47CA #AA77D8 #C8A6E5

Accessibility & contrast

On white

5.40
#8D47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D47CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47CA#FFFFFF#000000##FFFFFF
##8D47CA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#246AC7
Tritanopia (blue-blind)
#826382
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d47ca;
/* rgb */ color: rgb(141, 71, 202);
/* oklch */ color: oklch(54.8% 0.197 305.4);
Tailwind
colors: {
  custom: {
    50: '#b37fdb',
    500: '#8d47ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d47ca;
$custom-light: #b37fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47ca",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 272.061,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.19684,
    "h": 305.4
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#8D47CA
secondary
#B4D29A
accent
#DF498F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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