#8B2D8E#8B2D8E

#8B2D8E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.172 H 326.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8B2D8E
RGBrgb(139, 45, 142)
HSLhsl(298, 52%, 37%)
HSVhsv(298, 68%, 56%)
CMYKcmyk(2.1%, 68.3%, 0%, 44.3%)
CIE-LABlab(36.59, 52.05, -34.22)
CIE-LCHlch(36.59, 62.29, 326.68°)
OKLaboklab(47.58% 0.1437 -0.0948)
OKLCHoklch(47.58% 0.172 326.6)
XYZxyz(16.4680, 9.3198, 26.5175)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D8E #308E2D
analogous
#5B2D8E #8B2D8E #8E2D61
triadic
#8B2D8E #8E8B2D #2D8E8B
tetradic
#8B2D8E #8E5B2D #308E2D #2D618E
square
#8B2D8E #8E5B2D #308E2D #2D618E
split-complementary
#8B2D8E #618E2D #2D8E5B
monochromatic
#301031 #5E1E60 #8B2D8E #B83CBC #CC67CF

Accessibility & contrast

On white

7.33
#8B2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B2D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D8E
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D8E#FFFFFF#000000##FFFFFF
##8B2D8E1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#8F3B5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2d8e;
/* rgb */ color: rgb(139, 45, 142);
/* oklch */ color: oklch(47.6% 0.172 326.6);
Tailwind
colors: {
  custom: {
    50: '#b06eaf',
    500: '#8b2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d8e;
$custom-light: #b06eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d8e",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 298.144,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.17216,
    "h": 326.6
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#8B2D8E
secondary
#64B561
accent
#DB4C51
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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