#8D2CA6#8D2CA6

#8D2CA6 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.195 H 318.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8D2CA6
RGBrgb(141, 44, 166)
HSLhsl(288, 58%, 41%)
HSVhsv(288, 73%, 65%)
CMYKcmyk(15.1%, 73.5%, 0%, 34.9%)
CIE-LABlab(38.23, 57.40, -46.13)
CIE-LCHlch(38.23, 73.64, 321.21°)
OKLaboklab(49.28% 0.1463 -0.1295)
OKLCHoklch(49.28% 0.195 318.5)
XYZxyz(18.7672, 10.2181, 37.0527)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CA6 #45A62C
analogous
#502CA6 #8D2CA6 #A62C82
triadic
#8D2CA6 #A68D2C #2CA68D
tetradic
#8D2CA6 #A6502C #45A62C #2C82A6
square
#8D2CA6 #A6502C #45A62C #2C82A6
split-complementary
#8D2CA6 #82A62C #2CA650
monochromatic
#3B1245 #641F76 #8D2CA6 #B142CD #C573DA

Accessibility & contrast

On white

6.90
#8D2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D2CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CA6
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CA6#FFFFFF#000000##FFFFFF
##8D2CA61.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#335DA3
Tritanopia (blue-blind)
#8D4567
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ca6;
/* rgb */ color: rgb(141, 44, 166);
/* oklch */ color: oklch(49.3% 0.195 318.5);
Tailwind
colors: {
  custom: {
    50: '#b26fc1',
    500: '#8d2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ca6;
$custom-light: #b26fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ca6",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 287.705,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.19538,
    "h": 318.5
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#8D2CA6
secondary
#7EC16D
accent
#E14666
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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