#8B2C95#8B2C95

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

Color values

HEX#8B2C95
RGBrgb(139, 44, 149)
HSLhsl(294, 54%, 38%)
HSVhsv(294, 70%, 58%)
CMYKcmyk(6.7%, 70.5%, 0%, 41.6%)
CIE-LABlab(36.86, 53.73, -38.08)
CIE-LCHlch(36.86, 65.85, 324.67°)
OKLaboklab(47.9% 0.1448 -0.106)
OKLCHoklch(47.9% 0.179 323.8)
XYZxyz(16.9725, 9.4613, 29.3602)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2C95 #36952C
analogous
#572C95 #8B2C95 #952C6A
triadic
#8B2C95 #958B2C #2C958B
tetradic
#8B2C95 #95572C #36952C #2C6A95
square
#8B2C95 #95572C #36952C #2C6A95
split-complementary
#8B2C95 #6A952C #2C9557
monochromatic
#331037 #5F1E66 #8B2C95 #B73AC4 #C969D3

Accessibility & contrast

On white

7.26
#8B2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B2C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2C95
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2C95#FFFFFF#000000##FFFFFF
##8B2C951.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4F98
Deuteranopia (green-blind)
#3E5B92
Tritanopia (blue-blind)
#8E3E5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2c95;
/* rgb */ color: rgb(139, 44, 149);
/* oklch */ color: oklch(47.9% 0.179 323.8);
Tailwind
colors: {
  custom: {
    50: '#b06eb5',
    500: '#8b2c95',
    950: '#000000',
  },
}
SCSS
$custom: #8b2c95;
$custom-light: #b06eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2c95",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 294.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.17949,
    "h": 323.8
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#8B2C95
secondary
#6CB964
accent
#DE4A58
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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