#8D4BA7#8D4BA7

#8D4BA7 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.1% C 0.153 H 315.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8D4BA7
RGBrgb(141, 75, 167)
HSLhsl(283, 38%, 47%)
HSVhsv(283, 55%, 65%)
CMYKcmyk(15.6%, 55.1%, 0%, 34.5%)
CIE-LABlab(43.49, 43.32, -38.34)
CIE-LCHlch(43.49, 57.86, 318.49°)
OKLaboklab(53.1% 0.109 -0.107)
OKLCHoklch(53.1% 0.153 315.5)
XYZxyz(20.4746, 13.4855, 38.0762)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BA7 #65A74B
analogous
#5F4BA7 #8D4BA7 #A74B93
triadic
#8D4BA7 #A78D4B #4BA78D
tetradic
#8D4BA7 #A75F4B #65A74B #4B93A7
square
#8D4BA7 #A75F4B #65A74B #4B93A7
split-complementary
#8D4BA7 #93A74B #4BA75F
monochromatic
#462553 #69387D #8D4BA7 #A970BF #C29BD2

Accessibility & contrast

On white

5.68
#8D4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8D4BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BA7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BA7#FFFFFF#000000##FFFFFF
##8D4BA71.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#4B69A5
Tritanopia (blue-blind)
#8B5A72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d4ba7;
/* rgb */ color: rgb(141, 75, 167);
/* oklch */ color: oklch(53.1% 0.153 315.5);
Tailwind
colors: {
  custom: {
    50: '#b180c1',
    500: '#8d4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ba7;
$custom-light: #b180c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ba7",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 283.043,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53104,
    "c": 0.15271,
    "h": 315.5
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#8D4BA7
secondary
#9DBE8F
accent
#CE5A7B
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8D4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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