#8D2E9B#8D2E9B

#8D2E9B is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.183 H 322.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8D2E9B
RGBrgb(141, 46, 155)
HSLhsl(292, 54%, 39%)
HSVhsv(292, 70%, 61%)
CMYKcmyk(9%, 70.3%, 0%, 39.2%)
CIE-LABlab(37.81, 54.52, -40.17)
CIE-LCHlch(37.81, 67.72, 323.61°)
OKLaboklab(48.76% 0.1449 -0.1121)
OKLCHoklch(48.76% 0.183 322.3)
XYZxyz(17.8773, 9.9843, 31.9895)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E9B #3C9B2E
analogous
#572E9B #8D2E9B #9B2E72
triadic
#8D2E9B #9B8D2E #2E9B8D
tetradic
#8D2E9B #9B572E #3C9B2E #2E729B
square
#8D2E9B #9B572E #3C9B2E #2E729B
split-complementary
#8D2E9B #729B2E #2E9B57
monochromatic
#37123D #62206C #8D2E9B #B540C6 #C76FD4

Accessibility & contrast

On white

7.01
#8D2E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8D2E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2E9B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E9B#FFFFFF#000000##FFFFFF
##8D2E9B1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07529E
Deuteranopia (green-blind)
#3D5D98
Tritanopia (blue-blind)
#8F4161
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2e9b;
/* rgb */ color: rgb(141, 46, 155);
/* oklch */ color: oklch(48.8% 0.183 322.3);
Tailwind
colors: {
  custom: {
    50: '#b26fb9',
    500: '#8d2e9b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e9b;
$custom-light: #b26fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e9b",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 292.294,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.18322,
    "h": 322.3
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#8D2E9B
secondary
#74BC69
accent
#DE4A5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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