#8B2E96#8B2E96

#8B2E96 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.178 H 323.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8B2E96
RGBrgb(139, 46, 150)
HSLhsl(294, 53%, 38%)
HSVhsv(294, 69%, 59%)
CMYKcmyk(7.3%, 69.3%, 0%, 41.2%)
CIE-LABlab(37.20, 53.12, -38.14)
CIE-LCHlch(37.20, 65.39, 324.32°)
OKLaboklab(48.16% 0.1426 -0.1062)
OKLCHoklch(48.16% 0.178 323.3)
XYZxyz(17.1290, 9.6460, 29.8079)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E96 #39962E
analogous
#572E96 #8B2E96 #962E6D
triadic
#8B2E96 #968B2E #2E968B
tetradic
#8B2E96 #96572E #39962E #2E6D96
square
#8B2E96 #96572E #39962E #2E6D96
split-complementary
#8B2E96 #6D962E #2E9657
monochromatic
#341138 #602067 #8B2E96 #B53EC4 #C76CD2

Accessibility & contrast

On white

7.17
#8B2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8B2E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E96
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E96#FFFFFF#000000##FFFFFF
##8B2E961.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115199
Deuteranopia (green-blind)
#3E5B93
Tritanopia (blue-blind)
#8D3F5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2e96;
/* rgb */ color: rgb(139, 46, 150);
/* oklch */ color: oklch(48.2% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#b06fb5',
    500: '#8b2e96',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e96;
$custom-light: #b06fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e96",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 293.654,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48163,
    "c": 0.17785,
    "h": 323.3
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#8B2E96
secondary
#6FB967
accent
#DC4B5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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