#8B2D91#8B2D91

#8B2D91 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.175 H 325.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8B2D91
RGBrgb(139, 45, 145)
HSLhsl(296, 53%, 37%)
HSVhsv(296, 69%, 57%)
CMYKcmyk(4.1%, 69%, 0%, 43.1%)
CIE-LABlab(36.76, 52.59, -35.78)
CIE-LCHlch(36.76, 63.61, 325.77°)
OKLaboklab(47.76% 0.1438 -0.0994)
OKLCHoklch(47.76% 0.175 325.3)
XYZxyz(16.6963, 9.4111, 27.7197)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D91 #33912D
analogous
#592D91 #8B2D91 #912D65
triadic
#8B2D91 #918B2D #2D918B
tetradic
#8B2D91 #91592D #33912D #2D6591
square
#8B2D91 #91592D #33912D #2D6591
split-complementary
#8B2D91 #65912D #2D9159
monochromatic
#311034 #5E1F62 #8B2D91 #B83BC0 #CA68D0

Accessibility & contrast

On white

7.29
#8B2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8B2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D91
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D91#FFFFFF#000000##FFFFFF
##8B2D911.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184F94
Deuteranopia (green-blind)
#415A8E
Tritanopia (blue-blind)
#8E3D5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2d91;
/* rgb */ color: rgb(139, 45, 145);
/* oklch */ color: oklch(47.8% 0.175 325.3);
Tailwind
colors: {
  custom: {
    50: '#b06eb2',
    500: '#8b2d91',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d91;
$custom-light: #b06eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d91",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 296.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47756,
    "c": 0.17476,
    "h": 325.3
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#8B2D91
secondary
#68B763
accent
#DC4C54
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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