#8D1EB2#8D1EB2

#8D1EB2 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.0% C 0.219 H 315.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8D1EB2
RGBrgb(141, 30, 178)
HSLhsl(285, 71%, 41%)
HSVhsv(285, 83%, 70%)
CMYKcmyk(20.8%, 83.1%, 0%, 30.2%)
CIE-LABlab(37.49, 64.24, -54.48)
CIE-LCHlch(37.49, 84.23, 319.70°)
OKLaboklab(49.02% 0.156 -0.1539)
OKLCHoklch(49.02% 0.219 315.4)
XYZxyz(19.4833, 9.8064, 42.9774)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1EB2 #43B21E
analogous
#431EB2 #8D1EB2 #B21E8D
triadic
#8D1EB2 #B28D1E #1EB28D
tetradic
#8D1EB2 #B2431E #43B21E #1E8DB2
square
#8D1EB2 #B2431E #43B21E #1E8DB2
split-complementary
#8D1EB2 #8DB21E #1EB243
monochromatic
#3A0C49 #64157E #8D1EB2 #B131DC #C565E5

Accessibility & contrast

On white

7.09
#8D1EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8D1EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1EB2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1EB2#FFFFFF#000000##FFFFFF
##8D1EB21.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#155BAF
Tritanopia (blue-blind)
#8A436A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d1eb2;
/* rgb */ color: rgb(141, 30, 178);
/* oklch */ color: oklch(49.0% 0.219 315.4);
Tailwind
colors: {
  custom: {
    50: '#b36aca',
    500: '#8d1eb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d1eb2;
$custom-light: #b36aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1eb2",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 178
  },
  "hsl": {
    "h": 285,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.21915,
    "h": 315.4
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#8D1EB2
secondary
#7CCA62
accent
#EE3A67
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8D1EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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