#8D2FBC#8D2FBC

#8D2FBC is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.212 H 311.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8D2FBC
RGBrgb(141, 47, 188)
HSLhsl(280, 60%, 46%)
HSVhsv(280, 75%, 74%)
CMYKcmyk(25%, 75%, 0%, 26.3%)
CIE-LABlab(40.13, 60.72, -56.12)
CIE-LCHlch(40.13, 82.68, 317.25°)
OKLaboklab(51.1% 0.1405 -0.1589)
OKLCHoklch(51.1% 0.212 311.5)
XYZxyz(21.0764, 11.3271, 48.6433)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FBC #5EBC2F
analogous
#462FBC #8D2FBC #BC2FA4
triadic
#8D2FBC #BC8D2F #2FBC8D
tetradic
#8D2FBC #BC462F #5EBC2F #2FA4BC
square
#8D2FBC #BC462F #5EBC2F #2FA4BC
split-complementary
#8D2FBC #A4BC2F #2FBC46
monochromatic
#44175A #68238B #8D2FBC #A954D4 #C285E0

Accessibility & contrast

On white

6.43
#8D2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8D2FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FBC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FBC#FFFFFF#000000##FFFFFF
##8D2FBC1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#1560B9
Tritanopia (blue-blind)
#875074
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d2fbc;
/* rgb */ color: rgb(141, 47, 188);
/* oklch */ color: oklch(51.1% 0.212 311.5);
Tailwind
colors: {
  custom: {
    50: '#b371d1',
    500: '#8d2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fbc;
$custom-light: #b371d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fbc",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.21208,
    "h": 311.5
  },
  "luminance": 0.11327
}

Semantic roles & 50–950 ramp

primary
#8D2FBC
secondary
#97CA7D
accent
#E34579
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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