#8D47CF#8D47CF

#8D47CF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.202 H 304.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8D47CF
RGBrgb(141, 71, 207)
HSLhsl(271, 59%, 55%)
HSVhsv(271, 66%, 81%)
CMYKcmyk(31.9%, 65.7%, 0%, 18.8%)
CIE-LABlab(45.18, 54.47, -58.99)
CIE-LCHlch(45.18, 80.29, 312.72°)
OKLaboklab(55.13% 0.1134 -0.1674)
OKLCHoklch(55.13% 0.202 304.1)
XYZxyz(24.4977, 14.6743, 60.5612)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47CF #89CF47
analogous
#4947CF #8D47CF #CF47CD
triadic
#8D47CF #CF8D47 #47CF8D
tetradic
#8D47CF #CF4947 #89CF47 #47CDCF
square
#8D47CF #CF4947 #89CF47 #47CDCF
split-complementary
#8D47CF #CDCF47 #47CF49
monochromatic
#4F207B #6E2DAC #8D47CF #AB78DC #C9A8E8

Accessibility & contrast

On white

5.34
#8D47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8D47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47CF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47CF#FFFFFF#000000##FFFFFF
##8D47CF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#196BCC
Tritanopia (blue-blind)
#816585
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d47cf;
/* rgb */ color: rgb(141, 71, 207);
/* oklch */ color: oklch(55.1% 0.202 304.1);
Tailwind
colors: {
  custom: {
    50: '#b37fde',
    500: '#8d47cf',
    950: '#000000',
  },
}
SCSS
$custom: #8d47cf;
$custom-light: #b37fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47cf",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 270.882,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.20223,
    "h": 304.1
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#8D47CF
secondary
#B8D69C
accent
#E24692
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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