#8D2CAB#8D2CAB

#8D2CAB is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.200 H 316.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8D2CAB
RGBrgb(141, 44, 171)
HSLhsl(286, 59%, 42%)
HSVhsv(286, 74%, 67%)
CMYKcmyk(17.5%, 74.3%, 0%, 32.9%)
CIE-LABlab(38.56, 58.38, -48.59)
CIE-LCHlch(38.56, 75.96, 320.23°)
OKLaboklab(49.62% 0.1458 -0.1367)
OKLCHoklch(49.62% 0.2 316.8)
XYZxyz(19.2348, 10.4052, 39.5154)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CAB #4AAB2C
analogous
#4E2CAB #8D2CAB #AB2C8A
triadic
#8D2CAB #AB8D2C #2CAB8D
tetradic
#8D2CAB #AB4E2C #4AAB2C #2C8AAB
square
#8D2CAB #AB4E2C #4AAB2C #2C8AAB
split-complementary
#8D2CAB #8AAB2C #2CAB4E
monochromatic
#3D134A #651F7A #8D2CAB #AF45CF #C476DC

Accessibility & contrast

On white

6.82
#8D2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D2CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CAB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CAB#FFFFFF#000000##FFFFFF
##8D2CAB1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#2D5EA8
Tritanopia (blue-blind)
#8B4769
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2cab;
/* rgb */ color: rgb(141, 44, 171);
/* oklch */ color: oklch(49.6% 0.200 316.8);
Tailwind
colors: {
  custom: {
    50: '#b26fc5',
    500: '#8d2cab',
    950: '#000000',
  },
}
SCSS
$custom: #8d2cab;
$custom-light: #b26fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2cab",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 285.827,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.19985,
    "h": 316.8
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#8D2CAB
secondary
#83C36F
accent
#E2466B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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