#8D2FB1#8D2FB1

#8D2FB1 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.3% C 0.202 H 314.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8D2FB1
RGBrgb(141, 47, 177)
HSLhsl(283, 58%, 44%)
HSVhsv(283, 73%, 69%)
CMYKcmyk(20.3%, 73.4%, 0%, 30.6%)
CIE-LABlab(39.36, 58.45, -50.87)
CIE-LCHlch(39.36, 77.48, 318.97°)
OKLaboklab(50.32% 0.1421 -0.1434)
OKLCHoklch(50.32% 0.202 314.7)
XYZxyz(19.9355, 10.8708, 42.6346)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FB1 #53B12F
analogous
#4C2FB1 #8D2FB1 #B12F94
triadic
#8D2FB1 #B18D2F #2FB18D
tetradic
#8D2FB1 #B14C2F #53B12F #2F94B1
square
#8D2FB1 #B14C2F #53B12F #2F94B1
split-complementary
#8D2FB1 #94B12F #2FB14C
monochromatic
#401550 #662281 #8D2FB1 #AC4DD0 #C27EDD

Accessibility & contrast

On white

6.62
#8D2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8D2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FB1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FB1#FFFFFF#000000##FFFFFF
##8D2FB11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#295FAE
Tritanopia (blue-blind)
#8A4B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2fb1;
/* rgb */ color: rgb(141, 47, 177);
/* oklch */ color: oklch(50.3% 0.202 314.7);
Tailwind
colors: {
  custom: {
    50: '#b271c9',
    500: '#8d2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fb1;
$custom-light: #b271c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fb1",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 283.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50318,
    "c": 0.20192,
    "h": 314.7
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#8D2FB1
secondary
#8CC576
accent
#E14771
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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