#8B2B95#8B2B95

#8B2B95 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.181 H 323.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8B2B95
RGBrgb(139, 43, 149)
HSLhsl(294, 55%, 38%)
HSVhsv(294, 71%, 58%)
CMYKcmyk(6.7%, 71.1%, 0%, 41.6%)
CIE-LABlab(36.72, 54.11, -38.30)
CIE-LCHlch(36.72, 66.29, 324.71°)
OKLaboklab(47.8% 0.1459 -0.1067)
OKLCHoklch(47.8% 0.181 323.8)
XYZxyz(16.9357, 9.3877, 29.3479)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B95 #35952B
analogous
#562B95 #8B2B95 #952B6A
triadic
#8B2B95 #958B2B #2B958B
tetradic
#8B2B95 #95562B #35952B #2B6A95
square
#8B2B95 #95562B #35952B #2B6A95
split-complementary
#8B2B95 #6A952B #2B9556
monochromatic
#321036 #5F1D66 #8B2B95 #B739C4 #C967D3

Accessibility & contrast

On white

7.30
#8B2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8B2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B95
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B95#FFFFFF#000000##FFFFFF
##8B2B951.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F98
Deuteranopia (green-blind)
#3D5A92
Tritanopia (blue-blind)
#8E3D5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2b95;
/* rgb */ color: rgb(139, 43, 149);
/* oklch */ color: oklch(47.8% 0.181 323.8);
Tailwind
colors: {
  custom: {
    50: '#b06eb5',
    500: '#8b2b95',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b95;
$custom-light: #b06eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b95",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 294.34,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.478,
    "c": 0.18073,
    "h": 323.8
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#8B2B95
secondary
#6ABA62
accent
#DF4957
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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