#8B2F91#8B2F91

#8B2F91 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.172 H 325.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8B2F91
RGBrgb(139, 47, 145)
HSLhsl(296, 51%, 38%)
HSVhsv(296, 68%, 57%)
CMYKcmyk(4.1%, 67.6%, 0%, 43.1%)
CIE-LABlab(37.05, 51.78, -35.32)
CIE-LCHlch(37.05, 62.68, 325.70°)
OKLaboklab(47.97% 0.1415 -0.098)
OKLCHoklch(47.97% 0.172 325.3)
XYZxyz(16.7744, 9.5674, 27.7457)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F91 #35912F
analogous
#5A2F91 #8B2F91 #912F66
triadic
#8B2F91 #918B2F #2F918B
tetradic
#8B2F91 #915A2F #35912F #2F6691
square
#8B2F91 #915A2F #35912F #2F6691
split-complementary
#8B2F91 #66912F #2F915A
monochromatic
#321135 #5F2063 #8B2F91 #B73EBF #C96BCF

Accessibility & contrast

On white

7.21
#8B2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8B2F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F91
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F91#FFFFFF#000000##FFFFFF
##8B2F911.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#425B8E
Tritanopia (blue-blind)
#8E3E5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2f91;
/* rgb */ color: rgb(139, 47, 145);
/* oklch */ color: oklch(48.0% 0.172 325.3);
Tailwind
colors: {
  custom: {
    50: '#b06fb2',
    500: '#8b2f91',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f91;
$custom-light: #b06fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f91",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 296.327,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.17213,
    "h": 325.3
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#8B2F91
secondary
#6AB665
accent
#DB4D56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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