#8D1FA0#8D1FA0

#8D1FA0 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.8% C 0.203 H 321.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8D1FA0
RGBrgb(141, 31, 160)
HSLhsl(291, 68%, 37%)
HSVhsv(291, 81%, 63%)
CMYKcmyk(11.9%, 80.6%, 0%, 37.3%)
CIE-LABlab(36.33, 60.60, -45.57)
CIE-LCHlch(36.33, 75.82, 323.06°)
OKLaboklab(47.81% 0.1584 -0.1278)
OKLCHoklch(47.81% 0.204 321.1)
XYZxyz(17.8189, 9.1818, 34.0846)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1FA0 #32A01F
analogous
#4D1FA0 #8D1FA0 #A01F72
triadic
#8D1FA0 #A08D1F #1FA08D
tetradic
#8D1FA0 #A04D1F #32A01F #1F72A0
square
#8D1FA0 #A04D1F #32A01F #1F72A0
split-complementary
#8D1FA0 #72A01F #1FA04D
monochromatic
#330B39 #60156D #8D1FA0 #BA29D3 #CC5ADF

Accessibility & contrast

On white

7.40
#8D1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D1FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1FA0
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1FA0#FFFFFF#000000##FFFFFF
##8D1FA01.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#8E3B60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d1fa0;
/* rgb */ color: rgb(141, 31, 160);
/* oklch */ color: oklch(47.8% 0.203 321.1);
Tailwind
colors: {
  custom: {
    50: '#b269bd',
    500: '#8d1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8d1fa0;
$custom-light: #b269bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1fa0",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 291.163,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.2035,
    "h": 321.1
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#8D1FA0
secondary
#68C358
accent
#EA3D57
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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