#8B2D9F#8B2D9F

#8B2D9F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.187 H 320.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8B2D9F
RGBrgb(139, 45, 159)
HSLhsl(289, 56%, 40%)
HSVhsv(289, 72%, 62%)
CMYKcmyk(12.6%, 71.7%, 0%, 37.6%)
CIE-LABlab(37.61, 55.23, -42.94)
CIE-LCHlch(37.61, 69.96, 322.14°)
OKLaboklab(48.63% 0.1434 -0.1202)
OKLCHoklch(48.63% 0.187 320)
XYZxyz(17.8431, 9.8698, 33.7594)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D9F #419F2D
analogous
#522D9F #8B2D9F #9F2D7A
triadic
#8B2D9F #9F8B2D #2D9F8B
tetradic
#8B2D9F #9F522D #419F2D #2D7A9F
square
#8B2D9F #9F522D #419F2D #2D7A9F
split-complementary
#8B2D9F #7A9F2D #2D9F52
monochromatic
#381240 #61206F #8B2D9F #B140C9 #C570D6

Accessibility & contrast

On white

7.06
#8B2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8B2D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D9F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D9F#FFFFFF#000000##FFFFFF
##8B2D9F1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#375C9C
Tritanopia (blue-blind)
#8B4363
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2d9f;
/* rgb */ color: rgb(139, 45, 159);
/* oklch */ color: oklch(48.6% 0.187 320.0);
Tailwind
colors: {
  custom: {
    50: '#b06fbc',
    500: '#8b2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d9f;
$custom-light: #b06fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d9f",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 289.474,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.48632,
    "c": 0.18712,
    "h": 320
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#8B2D9F
secondary
#79BE6A
accent
#DF4963
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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