#8B2E95#8B2E95

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

Color values

HEX#8B2E95
RGBrgb(139, 46, 149)
HSLhsl(294, 53%, 38%)
HSVhsv(294, 69%, 58%)
CMYKcmyk(6.7%, 69.1%, 0%, 41.6%)
CIE-LABlab(37.14, 52.93, -37.63)
CIE-LCHlch(37.14, 64.94, 324.59°)
OKLaboklab(48.1% 0.1426 -0.1047)
OKLCHoklch(48.1% 0.177 323.7)
XYZxyz(17.0488, 9.6139, 29.3856)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E95 #38952E
analogous
#572E95 #8B2E95 #952E6B
triadic
#8B2E95 #958B2E #2E958B
tetradic
#8B2E95 #95572E #38952E #2E6B95
square
#8B2E95 #95572E #38952E #2E6B95
split-complementary
#8B2E95 #6B952E #2E9557
monochromatic
#341137 #5F2066 #8B2E95 #B63DC3 #C86CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2E95#FFFFFF#000000##FFFFFF
##8B2E951.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)
#135098
Deuteranopia (green-blind)
#3F5B92
Tritanopia (blue-blind)
#8D3F5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2e95;
/* rgb */ color: rgb(139, 46, 149);
/* oklch */ color: oklch(48.1% 0.177 323.7);
Tailwind
colors: {
  custom: {
    50: '#b06fb4',
    500: '#8b2e95',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e95;
$custom-light: #b06fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e95",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 294.175,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.17697,
    "h": 323.7
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

primary
#8B2E95
secondary
#6EB966
accent
#DC4C5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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