#8D4BA8#8D4BA8

#8D4BA8 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.2% C 0.154 H 315.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8D4BA8
RGBrgb(141, 75, 168)
HSLhsl(283, 38%, 48%)
HSVhsv(283, 55%, 66%)
CMYKcmyk(16.1%, 55.4%, 0%, 34.1%)
CIE-LABlab(43.54, 43.54, -38.85)
CIE-LCHlch(43.54, 58.35, 318.26°)
OKLaboklab(53.16% 0.1091 -0.1085)
OKLCHoklch(53.16% 0.154 315.2)
XYZxyz(20.5674, 13.5227, 38.5649)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BA8 #66A84B
analogous
#5F4BA8 #8D4BA8 #A84B94
triadic
#8D4BA8 #A88D4B #4BA88D
tetradic
#8D4BA8 #A85F4B #66A84B #4B94A8
square
#8D4BA8 #A85F4B #66A84B #4B94A8
split-complementary
#8D4BA8 #94A84B #4BA85F
monochromatic
#462553 #69387E #8D4BA8 #A971BF #C29BD2

Accessibility & contrast

On white

5.67
#8D4BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D4BA8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BA8#FFFFFF#000000##FFFFFF
##8D4BA81.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AB
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#8B5A72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d4ba8;
/* rgb */ color: rgb(141, 75, 168);
/* oklch */ color: oklch(53.2% 0.154 315.2);
Tailwind
colors: {
  custom: {
    50: '#b180c2',
    500: '#8d4ba8',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ba8;
$custom-light: #b180c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ba8",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 282.581,
    "s": 38.272,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53162,
    "c": 0.1538,
    "h": 315.2
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#8D4BA8
secondary
#9EBF90
accent
#CE5A7B
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8D4BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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