#8B2F99#8B2F99

#8B2F99 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.179 H 322.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8B2F99
RGBrgb(139, 47, 153)
HSLhsl(292, 53%, 39%)
HSVhsv(292, 69%, 60%)
CMYKcmyk(9.2%, 69.3%, 0%, 40%)
CIE-LABlab(37.52, 53.28, -39.45)
CIE-LCHlch(37.52, 66.29, 323.48°)
OKLaboklab(48.45% 0.1415 -0.1101)
OKLCHoklch(48.45% 0.179 322.1)
XYZxyz(17.4131, 9.8229, 31.1096)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F99 #3D992F
analogous
#562F99 #8B2F99 #992F72
triadic
#8B2F99 #998B2F #2F998B
tetradic
#8B2F99 #99562F #3D992F #2F7299
square
#8B2F99 #99562F #3D992F #2F7299
split-complementary
#8B2F99 #72992F #2F9956
monochromatic
#36123B #60216A #8B2F99 #B341C5 #C66FD3

Accessibility & contrast

On white

7.08
#8B2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8B2F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F99
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F99#FFFFFF#000000##FFFFFF
##8B2F991.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D529C
Deuteranopia (green-blind)
#3D5C96
Tritanopia (blue-blind)
#8D4160
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2f99;
/* rgb */ color: rgb(139, 47, 153);
/* oklch */ color: oklch(48.5% 0.179 322.1);
Tailwind
colors: {
  custom: {
    50: '#b070b7',
    500: '#8b2f99',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f99;
$custom-light: #b070b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f99",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 292.075,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48452,
    "c": 0.17924,
    "h": 322.1
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#8B2F99
secondary
#74BA69
accent
#DC4B5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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