#8B2D95#8B2D95

#8B2D95 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.178 H 323.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8B2D95
RGBrgb(139, 45, 149)
HSLhsl(294, 54%, 38%)
HSVhsv(294, 70%, 58%)
CMYKcmyk(6.7%, 69.8%, 0%, 41.6%)
CIE-LABlab(37.00, 53.33, -37.85)
CIE-LCHlch(37.00, 65.40, 324.63°)
OKLaboklab(48% 0.1437 -0.1054)
OKLCHoklch(48% 0.178 323.7)
XYZxyz(17.0102, 9.5367, 29.3727)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D95 #37952D
analogous
#572D95 #8B2D95 #952D6B
triadic
#8B2D95 #958B2D #2D958B
tetradic
#8B2D95 #95572D #37952D #2D6B95
square
#8B2D95 #95572D #37952D #2D6B95
split-complementary
#8B2D95 #6B952D #2D9557
monochromatic
#331137 #5F1F66 #8B2D95 #B73BC4 #C86AD2

Accessibility & contrast

On white

7.22
#8B2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8B2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D95
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D95#FFFFFF#000000##FFFFFF
##8B2D951.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105098
Deuteranopia (green-blind)
#3E5B92
Tritanopia (blue-blind)
#8D3E5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2d95;
/* rgb */ color: rgb(139, 45, 149);
/* oklch */ color: oklch(48.0% 0.178 323.7);
Tailwind
colors: {
  custom: {
    50: '#b06eb5',
    500: '#8b2d95',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d95;
$custom-light: #b06eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d95",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 294.231,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47999,
    "c": 0.17824,
    "h": 323.7
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#8B2D95
secondary
#6DB965
accent
#DD4B59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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