#8D1BB4#8D1BB4

#8D1BB4 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 49.0% C 0.223 H 314.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D1BB4
RGBrgb(141, 27, 180)
HSLhsl(285, 74%, 41%)
HSVhsv(285, 85%, 71%)
CMYKcmyk(21.7%, 85%, 0%, 29.4%)
CIE-LABlab(37.38, 65.40, -55.86)
CIE-LCHlch(37.38, 86.00, 319.50°)
OKLaboklab(48.99% 0.1575 -0.158)
OKLCHoklch(48.99% 0.223 314.9)
XYZxyz(19.6133, 9.7426, 44.0185)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1BB4 #42B41B
analogous
#401BB4 #8D1BB4 #B41B8E
triadic
#8D1BB4 #B48D1B #1BB48D
tetradic
#8D1BB4 #B4401B #42B41B #1B8EB4
square
#8D1BB4 #B4401B #42B41B #1B8EB4
split-complementary
#8D1BB4 #8EB41B #1BB440
monochromatic
#3A0B4A #63137F #8D1BB4 #B22DDF #C562E7

Accessibility & contrast

On white

7.12
#8D1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D1BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1BB4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1BB4#FFFFFF#000000##FFFFFF
##8D1BB41.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0B5BB1
Tritanopia (blue-blind)
#89436B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d1bb4;
/* rgb */ color: rgb(141, 27, 180);
/* oklch */ color: oklch(49.0% 0.223 314.9);
Tailwind
colors: {
  custom: {
    50: '#b369cb',
    500: '#8d1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #8d1bb4;
$custom-light: #b369cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1bb4",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 284.706,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48988,
    "c": 0.22304,
    "h": 314.9
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#8D1BB4
secondary
#7BCC5F
accent
#F13766
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8D1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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