#8D2F9B#8D2F9B

#8D2F9B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.182 H 322.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D2F9B
RGBrgb(141, 47, 155)
HSLhsl(292, 53%, 40%)
HSVhsv(292, 70%, 61%)
CMYKcmyk(9%, 69.7%, 0%, 39.2%)
CIE-LABlab(37.96, 54.12, -39.95)
CIE-LCHlch(37.96, 67.27, 323.57°)
OKLaboklab(48.86% 0.1438 -0.1115)
OKLCHoklch(48.86% 0.182 322.2)
XYZxyz(17.9168, 10.0633, 32.0027)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F9B #3D9B2F
analogous
#572F9B #8D2F9B #9B2F73
triadic
#8D2F9B #9B8D2F #2F9B8D
tetradic
#8D2F9B #9B572F #3D9B2F #2F739B
square
#8D2F9B #9B572F #3D9B2F #2F739B
split-complementary
#8D2F9B #739B2F #2F9B57
monochromatic
#38133D #62216C #8D2F9B #B442C6 #C771D4

Accessibility & contrast

On white

6.97
#8D2F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8D2F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2F9B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F9B#FFFFFF#000000##FFFFFF
##8D2F9B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B529E
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#8F4261
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2f9b;
/* rgb */ color: rgb(141, 47, 155);
/* oklch */ color: oklch(48.9% 0.182 322.2);
Tailwind
colors: {
  custom: {
    50: '#b270b9',
    500: '#8d2f9b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f9b;
$custom-light: #b270b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f9b",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 292.222,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.18197,
    "h": 322.2
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#8D2F9B
secondary
#75BB6A
accent
#DD4B5E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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