#8D2FB8#8D2FB8

#8D2FB8 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.208 H 312.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8D2FB8
RGBrgb(141, 47, 184)
HSLhsl(281, 59%, 45%)
HSVhsv(281, 74%, 72%)
CMYKcmyk(23.4%, 74.5%, 0%, 27.8%)
CIE-LABlab(39.84, 59.88, -54.23)
CIE-LCHlch(39.84, 80.79, 317.84°)
OKLaboklab(50.81% 0.1412 -0.1533)
OKLCHoklch(50.81% 0.208 312.6)
XYZxyz(20.6512, 11.1570, 46.4038)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FB8 #5AB82F
analogous
#492FB8 #8D2FB8 #B82F9E
triadic
#8D2FB8 #B88D2F #2FB88D
tetradic
#8D2FB8 #B8492F #5AB82F #2F9EB8
square
#8D2FB8 #B8492F #5AB82F #2F9EB8
split-complementary
#8D2FB8 #9EB82F #2FB849
monochromatic
#421657 #682387 #8D2FB8 #AA52D3 #C282DF

Accessibility & contrast

On white

6.50
#8D2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8D2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FB8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FB8#FFFFFF#000000##FFFFFF
##8D2FB81.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#1E60B5
Tritanopia (blue-blind)
#884E71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d2fb8;
/* rgb */ color: rgb(141, 47, 184);
/* oklch */ color: oklch(50.8% 0.208 312.6);
Tailwind
colors: {
  custom: {
    50: '#b371ce',
    500: '#8d2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fb8;
$custom-light: #b371ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fb8",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 281.168,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50812,
    "c": 0.20838,
    "h": 312.6
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#8D2FB8
secondary
#93C87B
accent
#E24577
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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