#8D2CB4#8D2CB4

#8D2CB4 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.208 H 314.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8D2CB4
RGBrgb(141, 44, 180)
HSLhsl(283, 61%, 44%)
HSVhsv(283, 76%, 71%)
CMYKcmyk(21.7%, 75.6%, 0%, 29.4%)
CIE-LABlab(39.17, 60.18, -52.95)
CIE-LCHlch(39.17, 80.16, 318.66°)
OKLaboklab(50.25% 0.1445 -0.1495)
OKLCHoklch(50.25% 0.208 314)
XYZxyz(20.1220, 10.7601, 44.1881)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CB4 #53B42C
analogous
#492CB4 #8D2CB4 #B42C97
triadic
#8D2CB4 #B48D2C #2CB48D
tetradic
#8D2CB4 #B4492C #53B42C #2C97B4
square
#8D2CB4 #B4492C #53B42C #2C97B4
split-complementary
#8D2CB4 #97B42C #2CB449
monochromatic
#401452 #662083 #8D2CB4 #AC4AD3 #C27CDF

Accessibility & contrast

On white

6.66
#8D2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8D2CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CB4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CB4#FFFFFF#000000##FFFFFF
##8D2CB41.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#215FB1
Tritanopia (blue-blind)
#894B6E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2cb4;
/* rgb */ color: rgb(141, 44, 180);
/* oklch */ color: oklch(50.2% 0.208 314.0);
Tailwind
colors: {
  custom: {
    50: '#b370cb',
    500: '#8d2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #8d2cb4;
$custom-light: #b370cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2cb4",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 282.794,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.20795,
    "h": 314
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

primary
#8D2CB4
secondary
#8CC775
accent
#E44472
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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