#8D47D4#8D47D4

#8D47D4 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.208 H 302.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8D47D4
RGBrgb(141, 71, 212)
HSLhsl(270, 62%, 55%)
HSVhsv(270, 67%, 83%)
CMYKcmyk(33.5%, 66.5%, 0%, 16.9%)
CIE-LABlab(45.53, 55.66, -61.30)
CIE-LCHlch(45.53, 82.80, 312.24°)
OKLaboklab(55.48% 0.1129 -0.1742)
OKLCHoklch(55.48% 0.208 302.9)
XYZxyz(25.1186, 14.9227, 63.8316)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47D4 #8ED447
analogous
#4747D4 #8D47D4 #D347D4
triadic
#8D47D4 #D48D47 #47D48D
tetradic
#8D47D4 #D44747 #8ED447 #47D4D3
square
#8D47D4 #D44747 #8ED447 #47D4D3
split-complementary
#8D47D4 #D4D347 #47D447
monochromatic
#501E82 #6E2AB4 #8D47D4 #AC79E0 #CAAAEB

Accessibility & contrast

On white

5.27
#8D47D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8D47D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47D4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47D4#FFFFFF#000000##FFFFFF
##8D47D41.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#076BD1
Tritanopia (blue-blind)
#7F6788
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d47d4;
/* rgb */ color: rgb(141, 71, 212);
/* oklch */ color: oklch(55.5% 0.208 302.9);
Tailwind
colors: {
  custom: {
    50: '#b37fe2',
    500: '#8d47d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d47d4;
$custom-light: #b37fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47d4",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 269.787,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5548,
    "c": 0.20762,
    "h": 302.9
  },
  "luminance": 0.14923
}

Semantic roles & 50–950 ramp

primary
#8D47D4
secondary
#BCD99E
accent
#E54394
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D47D4

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

Preview Lab → · Contrast checker → · Palette generator →

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