#8D47D9#8D47D9

#8D47D9 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.213 H 301.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8D47D9
RGBrgb(141, 71, 217)
HSLhsl(269, 66%, 56%)
HSVhsv(269, 67%, 85%)
CMYKcmyk(35%, 67.3%, 0%, 14.9%)
CIE-LABlab(45.88, 56.85, -63.60)
CIE-LCHlch(45.88, 85.31, 311.79°)
OKLaboklab(55.84% 0.1123 -0.181)
OKLCHoklch(55.84% 0.213 301.8)
XYZxyz(25.7591, 15.1789, 67.2049)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47D9 #93D947
analogous
#474AD9 #8D47D9 #D647D9
triadic
#8D47D9 #D98D47 #47D98D
tetradic
#8D47D9 #D9474A #93D947 #47D9D6
square
#8D47D9 #D9474A #93D947 #47D9D6
split-complementary
#8D47D9 #D9D647 #4AD947
monochromatic
#511C89 #6E27BC #8D47D9 #AC7AE3 #CCACEE

Accessibility & contrast

On white

5.20
#8D47D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8D47D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47D9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47D9#FFFFFF#000000##FFFFFF
##8D47D91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#7D698A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d47d9;
/* rgb */ color: rgb(141, 71, 217);
/* oklch */ color: oklch(55.8% 0.213 301.8);
Tailwind
colors: {
  custom: {
    50: '#b47fe6',
    500: '#8d47d9',
    950: '#000000',
  },
}
SCSS
$custom: #8d47d9;
$custom-light: #b47fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47d9",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 268.767,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.213,
    "h": 301.8
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#8D47D9
secondary
#BFDCA0
accent
#E93F97
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D47D9

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

Preview Lab → · Contrast checker → · Palette generator →

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