#8D2F9D#8D2F9D

#8D2F9D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.184 H 321.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8D2F9D
RGBrgb(141, 47, 157)
HSLhsl(291, 54%, 40%)
HSVhsv(291, 70%, 62%)
CMYKcmyk(10.2%, 70.1%, 0%, 38.4%)
CIE-LABlab(38.08, 54.50, -40.96)
CIE-LCHlch(38.08, 68.18, 323.07°)
OKLaboklab(48.99% 0.1438 -0.1144)
OKLCHoklch(48.99% 0.184 321.5)
XYZxyz(18.0862, 10.1310, 32.8946)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F9D #3F9D2F
analogous
#562F9D #8D2F9D #9D2F76
triadic
#8D2F9D #9D8D2F #2F9D8D
tetradic
#8D2F9D #9D562F #3F9D2F #2F769D
square
#8D2F9D #9D562F #3F9D2F #2F769D
split-complementary
#8D2F9D #769D2F #2F9D56
monochromatic
#38133F #63216E #8D2F9D #B343C7 #C672D5

Accessibility & contrast

On white

6.94
#8D2F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8D2F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2F9D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F9D#FFFFFF#000000##FFFFFF
##8D2F9D1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0553A0
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#8E4362
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2f9d;
/* rgb */ color: rgb(141, 47, 157);
/* oklch */ color: oklch(49.0% 0.184 321.5);
Tailwind
colors: {
  custom: {
    50: '#b270ba',
    500: '#8d2f9d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f9d;
$custom-light: #b270ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f9d",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 291.273,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.4899,
    "c": 0.18375,
    "h": 321.5
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#8D2F9D
secondary
#77BC6B
accent
#DD4B60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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