#8D2FBB#8D2FBB

#8D2FBB is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.211 H 311.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8D2FBB
RGBrgb(141, 47, 187)
HSLhsl(280, 60%, 46%)
HSVhsv(280, 75%, 73%)
CMYKcmyk(24.6%, 74.9%, 0%, 26.7%)
CIE-LABlab(40.06, 60.51, -55.65)
CIE-LCHlch(40.06, 82.21, 317.39°)
OKLaboklab(51.03% 0.1407 -0.1575)
OKLCHoklch(51.03% 0.211 311.8)
XYZxyz(20.9690, 11.2842, 48.0775)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FBB #5DBB2F
analogous
#472FBB #8D2FBB #BB2FA3
triadic
#8D2FBB #BB8D2F #2FBB8D
tetradic
#8D2FBB #BB472F #5DBB2F #2FA3BB
square
#8D2FBB #BB472F #5DBB2F #2FA3BB
split-complementary
#8D2FBB #A3BB2F #2FBB47
monochromatic
#431659 #68238A #8D2FBB #AA53D4 #C284E0

Accessibility & contrast

On white

6.45
#8D2FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8D2FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FBB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FBB#FFFFFF#000000##FFFFFF
##8D2FBB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#1860B8
Tritanopia (blue-blind)
#874F73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d2fbb;
/* rgb */ color: rgb(141, 47, 187);
/* oklch */ color: oklch(51.0% 0.211 311.8);
Tailwind
colors: {
  custom: {
    50: '#b371d0',
    500: '#8d2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fbb;
$custom-light: #b371d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fbb",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 280.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.21116,
    "h": 311.8
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#8D2FBB
secondary
#96C97C
accent
#E34579
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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