#8B2D7E#8B2D7E

#8B2D7E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.7% C 0.159 H 333.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8B2D7E
RGBrgb(139, 45, 126)
HSLhsl(308, 51%, 36%)
HSVhsv(308, 68%, 55%)
CMYKcmyk(0%, 67.6%, 9.4%, 45.5%)
CIE-LABlab(35.74, 49.28, -25.68)
CIE-LCHlch(35.74, 55.57, 332.48°)
OKLaboklab(46.68% 0.1426 -0.0702)
OKLCHoklch(46.68% 0.159 333.8)
XYZxyz(15.3518, 8.8733, 20.6388)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D7E #2D8B3A
analogous
#692D8B #8B2D7E #8B2D4F
triadic
#8B2D7E #7E8B2D #2D7E8B
tetradic
#8B2D7E #8B692D #2D8B3A #2D4F8B
square
#8B2D7E #8B692D #2D8B3A #2D4F8B
split-complementary
#8B2D7E #4F8B2D #2D8B69
monochromatic
#2F0F2A #5D1E54 #8B2D7E #B93CA8 #CD65BF

Accessibility & contrast

On white

7.57
#8B2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B2D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D7E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D7E#FFFFFF#000000##FFFFFF
##8B2D7E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#913551
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2d7e;
/* rgb */ color: rgb(139, 45, 126);
/* oklch */ color: oklch(46.7% 0.159 333.8);
Tailwind
colors: {
  custom: {
    50: '#b06ea3',
    500: '#8b2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d7e;
$custom-light: #b06ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d7e",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 308.298,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.1589,
    "h": 333.8
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#8B2D7E
secondary
#60B46C
accent
#DB614D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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