#8D1FB2#8D1FB2

#8D1FB2 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.218 H 315.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8D1FB2
RGBrgb(141, 31, 178)
HSLhsl(285, 70%, 41%)
HSVhsv(285, 83%, 70%)
CMYKcmyk(20.8%, 82.6%, 0%, 30.2%)
CIE-LABlab(37.59, 63.97, -54.33)
CIE-LCHlch(37.59, 83.93, 319.66°)
OKLaboklab(49.09% 0.1553 -0.1535)
OKLCHoklch(49.09% 0.218 315.3)
XYZxyz(19.5091, 9.8578, 42.9859)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1FB2 #44B21F
analogous
#431FB2 #8D1FB2 #B21F8D
triadic
#8D1FB2 #B28D1F #1FB28D
tetradic
#8D1FB2 #B2431F #44B21F #1F8DB2
square
#8D1FB2 #B2431F #44B21F #1F8DB2
split-complementary
#8D1FB2 #8DB21F #1FB243
monochromatic
#3A0D4A #64167E #8D1FB2 #B133DB #C567E5

Accessibility & contrast

On white

7.07
#8D1FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8D1FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1FB2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1FB2#FFFFFF#000000##FFFFFF
##8D1FB21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#165BAF
Tritanopia (blue-blind)
#8A446B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d1fb2;
/* rgb */ color: rgb(141, 31, 178);
/* oklch */ color: oklch(49.1% 0.218 315.3);
Tailwind
colors: {
  custom: {
    50: '#b36aca',
    500: '#8d1fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d1fb2;
$custom-light: #b36aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1fb2",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 178
  },
  "hsl": {
    "h": 284.898,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49088,
    "c": 0.21837,
    "h": 315.3
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#8D1FB2
secondary
#7DCA63
accent
#ED3B68
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8D1FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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