#8D2FB9#8D2FB9

#8D2FB9 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.209 H 312.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8D2FB9
RGBrgb(141, 47, 185)
HSLhsl(281, 59%, 45%)
HSVhsv(281, 75%, 73%)
CMYKcmyk(23.8%, 74.6%, 0%, 27.5%)
CIE-LABlab(39.91, 60.09, -54.70)
CIE-LCHlch(39.91, 81.26, 317.69°)
OKLaboklab(50.88% 0.141 -0.1547)
OKLCHoklch(50.88% 0.209 312.3)
XYZxyz(20.7564, 11.1991, 46.9578)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FB9 #5BB92F
analogous
#482FB9 #8D2FB9 #B92FA0
triadic
#8D2FB9 #B98D2F #2FB98D
tetradic
#8D2FB9 #B9482F #5BB92F #2FA0B9
square
#8D2FB9 #B9482F #5BB92F #2FA0B9
split-complementary
#8D2FB9 #A0B92F #2FB948
monochromatic
#431657 #682388 #8D2FB9 #AA52D3 #C283DF

Accessibility & contrast

On white

6.48
#8D2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8D2FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FB9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FB9#FFFFFF#000000##FFFFFF
##8D2FB91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#1C60B6
Tritanopia (blue-blind)
#884F72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d2fb9;
/* rgb */ color: rgb(141, 47, 185);
/* oklch */ color: oklch(50.9% 0.209 312.3);
Tailwind
colors: {
  custom: {
    50: '#b371cf',
    500: '#8d2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fb9;
$custom-light: #b371cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fb9",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 280.87,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.20931,
    "h": 312.3
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#8D2FB9
secondary
#94C97B
accent
#E34577
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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