#8B2F92#8B2F92

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

Color values

HEX#8B2F92
RGBrgb(139, 47, 146)
HSLhsl(296, 51%, 38%)
HSVhsv(296, 68%, 57%)
CMYKcmyk(4.8%, 67.8%, 0%, 42.7%)
CIE-LABlab(37.11, 51.96, -35.84)
CIE-LCHlch(37.11, 63.13, 325.40°)
OKLaboklab(48.02% 0.1415 -0.0996)
OKLCHoklch(48.02% 0.173 324.9)
XYZxyz(16.8519, 9.5983, 28.1536)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F92 #36922F
analogous
#5A2F92 #8B2F92 #922F67
triadic
#8B2F92 #928B2F #2F928B
tetradic
#8B2F92 #925A2F #36922F #2F6792
square
#8B2F92 #925A2F #36922F #2F6792
split-complementary
#8B2F92 #67922F #2F925A
monochromatic
#331135 #5F2064 #8B2F92 #B73EC0 #C96CD0

Accessibility & contrast

On white

7.19
#8B2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8B2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F92
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F92#FFFFFF#000000##FFFFFF
##8B2F921.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2f92;
/* rgb */ color: rgb(139, 47, 146);
/* oklch */ color: oklch(48.0% 0.173 324.9);
Tailwind
colors: {
  custom: {
    50: '#b06fb2',
    500: '#8b2f92',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f92;
$custom-light: #b06fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f92",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 295.758,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48024,
    "c": 0.17302,
    "h": 324.9
  },
  "luminance": 0.09597
}

Semantic roles & 50–950 ramp

primary
#8B2F92
secondary
#6CB766
accent
#DB4D57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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