#8D2F9C#8D2F9C

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

Color values

HEX#8D2F9C
RGBrgb(141, 47, 156)
HSLhsl(292, 54%, 40%)
HSVhsv(292, 70%, 61%)
CMYKcmyk(9.6%, 69.9%, 0%, 38.8%)
CIE-LABlab(38.02, 54.31, -40.46)
CIE-LCHlch(38.02, 67.72, 323.32°)
OKLaboklab(48.93% 0.1438 -0.1129)
OKLCHoklch(48.93% 0.183 321.9)
XYZxyz(18.0011, 10.0970, 32.4468)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F9C #3E9C2F
analogous
#562F9C #8D2F9C #9C2F75
triadic
#8D2F9C #9C8D2F #2F9C8D
tetradic
#8D2F9C #9C562F #3E9C2F #2F759C
square
#8D2F9C #9C562F #3E9C2F #2F759C
split-complementary
#8D2F9C #759C2F #2F9C56
monochromatic
#38133E #62216D #8D2F9C #B442C6 #C771D4

Accessibility & contrast

On white

6.96
#8D2F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D2F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2F9C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F9C#FFFFFF#000000##FFFFFF
##8D2F9C1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08539F
Deuteranopia (green-blind)
#3D5D99
Tritanopia (blue-blind)
#8F4262
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2f9c;
/* rgb */ color: rgb(141, 47, 156);
/* oklch */ color: oklch(48.9% 0.183 321.9);
Tailwind
colors: {
  custom: {
    50: '#b270ba',
    500: '#8d2f9c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f9c;
$custom-light: #b270ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f9c",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 291.743,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.18286,
    "h": 321.9
  },
  "luminance": 0.10096
}

Semantic roles & 50–950 ramp

primary
#8D2F9C
secondary
#76BC6B
accent
#DD4B5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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