#8D2FB5#8D2FB5

#8D2FB5 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.206 H 313.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8D2FB5
RGBrgb(141, 47, 181)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 74%, 71%)
CMYKcmyk(22.1%, 74%, 0%, 29%)
CIE-LABlab(39.64, 59.26, -52.79)
CIE-LCHlch(39.64, 79.37, 318.31°)
OKLaboklab(50.6% 0.1416 -0.1491)
OKLCHoklch(50.6% 0.206 313.5)
XYZxyz(20.3401, 11.0326, 44.7652)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FB5 #57B52F
analogous
#4A2FB5 #8D2FB5 #B52F9A
triadic
#8D2FB5 #B58D2F #2FB58D
tetradic
#8D2FB5 #B54A2F #57B52F #2F9AB5
square
#8D2FB5 #B54A2F #57B52F #2F9AB5
split-complementary
#8D2FB5 #9AB52F #2FB54A
monochromatic
#411654 #672284 #8D2FB5 #AB50D1 #C280DE

Accessibility & contrast

On white

6.55
#8D2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8D2FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FB5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FB5#FFFFFF#000000##FFFFFF
##8D2FB51.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#235FB2
Tritanopia (blue-blind)
#894D70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2fb5;
/* rgb */ color: rgb(141, 47, 181);
/* oklch */ color: oklch(50.6% 0.206 313.5);
Tailwind
colors: {
  custom: {
    50: '#b371cc',
    500: '#8d2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fb5;
$custom-light: #b371cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fb5",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 282.09,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.20561,
    "h": 313.5
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#8D2FB5
secondary
#90C779
accent
#E24674
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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