#8D47C2#8D47C2

#8D47C2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.188 H 307.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D47C2
RGBrgb(141, 71, 194)
HSLhsl(274, 50%, 52%)
HSVhsv(274, 63%, 76%)
CMYKcmyk(27.3%, 63.4%, 0%, 23.9%)
CIE-LABlab(44.33, 51.43, -52.85)
CIE-LCHlch(44.33, 73.75, 314.22°)
OKLaboklab(54.23% 0.1144 -0.1494)
OKLCHoklch(54.23% 0.188 307.4)
XYZxyz(22.9733, 14.0645, 52.5330)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47C2 #7CC247
analogous
#5047C2 #8D47C2 #C247BA
triadic
#8D47C2 #C28D47 #47C28D
tetradic
#8D47C2 #C25047 #7CC247 #47BAC2
square
#8D47C2 #C25047 #7CC247 #47BAC2
split-complementary
#8D47C2 #BAC247 #47C250
monochromatic
#4C246B #6D3399 #8D47C2 #A975D1 #C6A3E0

Accessibility & contrast

On white

5.51
#8D47C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8D47C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47C2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47C2#FFFFFF#000000##FFFFFF
##8D47C21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#3069BF
Tritanopia (blue-blind)
#85607E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d47c2;
/* rgb */ color: rgb(141, 71, 194);
/* oklch */ color: oklch(54.2% 0.188 307.4);
Tailwind
colors: {
  custom: {
    50: '#b27ed5',
    500: '#8d47c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d47c2;
$custom-light: #b27ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47c2",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 274.146,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.18819,
    "h": 307.4
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#8D47C2
secondary
#AFCD97
accent
#DA4E8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D47C2

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

Preview Lab → · Contrast checker → · Palette generator →

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