#8D2CB5#8D2CB5

#8D2CB5 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.209 H 313.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8D2CB5
RGBrgb(141, 44, 181)
HSLhsl(282, 61%, 44%)
HSVhsv(282, 76%, 71%)
CMYKcmyk(22.1%, 75.7%, 0%, 29%)
CIE-LABlab(39.24, 60.39, -53.43)
CIE-LCHlch(39.24, 80.63, 318.50°)
OKLaboklab(50.32% 0.1444 -0.1509)
OKLCHoklch(50.32% 0.209 313.7)
XYZxyz(20.2242, 10.8009, 44.7265)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CB5 #54B52C
analogous
#492CB5 #8D2CB5 #B52C99
triadic
#8D2CB5 #B58D2C #2CB58D
tetradic
#8D2CB5 #B5492C #54B52C #2C99B5
square
#8D2CB5 #B5492C #54B52C #2C99B5
split-complementary
#8D2CB5 #99B52C #2CB549
monochromatic
#401453 #672084 #8D2CB5 #AB4BD3 #C27CDF

Accessibility & contrast

On white

6.65
#8D2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D2CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CB5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CB5#FFFFFF#000000##FFFFFF
##8D2CB51.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#205FB2
Tritanopia (blue-blind)
#894B6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2cb5;
/* rgb */ color: rgb(141, 44, 181);
/* oklch */ color: oklch(50.3% 0.209 313.7);
Tailwind
colors: {
  custom: {
    50: '#b370cc',
    500: '#8d2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #8d2cb5;
$custom-light: #b370cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2cb5",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 282.482,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.20886,
    "h": 313.7
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

primary
#8D2CB5
secondary
#8DC875
accent
#E44473
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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