#8B2E92#8B2E92

#8B2E92 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.174 H 324.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8B2E92
RGBrgb(139, 46, 146)
HSLhsl(296, 52%, 38%)
HSVhsv(296, 68%, 57%)
CMYKcmyk(4.8%, 68.5%, 0%, 42.7%)
CIE-LABlab(36.97, 52.37, -36.08)
CIE-LCHlch(36.97, 63.60, 325.44°)
OKLaboklab(47.92% 0.1426 -0.1002)
OKLCHoklch(47.92% 0.174 324.9)
XYZxyz(16.8124, 9.5193, 28.1404)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E92 #35922E
analogous
#592E92 #8B2E92 #922E67
triadic
#8B2E92 #928B2E #2E928B
tetradic
#8B2E92 #92592E #35922E #2E6792
square
#8B2E92 #92592E #35922E #2E6792
split-complementary
#8B2E92 #67922E #2E9259
monochromatic
#321135 #5F1F63 #8B2E92 #B73DC1 #C96AD0

Accessibility & contrast

On white

7.23
#8B2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8B2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E92
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E92#FFFFFF#000000##FFFFFF
##8B2E921.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185095
Deuteranopia (green-blind)
#415B8F
Tritanopia (blue-blind)
#8E3E5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2e92;
/* rgb */ color: rgb(139, 46, 146);
/* oklch */ color: oklch(47.9% 0.174 324.9);
Tailwind
colors: {
  custom: {
    50: '#b06fb2',
    500: '#8b2e92',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e92;
$custom-light: #b06fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e92",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 295.8,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.17433,
    "h": 324.9
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#8B2E92
secondary
#6AB765
accent
#DC4C56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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