#8B2F96#8B2F96

#8B2F96 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.177 H 323.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8B2F96
RGBrgb(139, 47, 150)
HSLhsl(294, 52%, 39%)
HSVhsv(294, 69%, 59%)
CMYKcmyk(7.3%, 68.7%, 0%, 41.2%)
CIE-LABlab(37.34, 52.71, -37.91)
CIE-LCHlch(37.34, 64.93, 324.27°)
OKLaboklab(48.27% 0.1415 -0.1056)
OKLCHoklch(48.27% 0.177 323.3)
XYZxyz(17.1685, 9.7250, 29.8211)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F96 #3A962F
analogous
#572F96 #8B2F96 #962F6D
triadic
#8B2F96 #968B2F #2F968B
tetradic
#8B2F96 #96572F #3A962F #2F6D96
square
#8B2F96 #96572F #3A962F #2F6D96
split-complementary
#8B2F96 #6D962F #2F9657
monochromatic
#351239 #602067 #8B2F96 #B53FC3 #C76ED2

Accessibility & contrast

On white

7.13
#8B2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8B2F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F96
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F96#FFFFFF#000000##FFFFFF
##8B2F961.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145199
Deuteranopia (green-blind)
#3F5C93
Tritanopia (blue-blind)
#8D405F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2f96;
/* rgb */ color: rgb(139, 47, 150);
/* oklch */ color: oklch(48.3% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#b06fb5',
    500: '#8b2f96',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f96;
$custom-light: #b06fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f96",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 293.592,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.17656,
    "h": 323.3
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#8B2F96
secondary
#71B968
accent
#DC4C5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2F96

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

Preview Lab → · Contrast checker → · Palette generator →

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