#8B2E9D#8B2E9D

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

Color values

HEX#8B2E9D
RGBrgb(139, 46, 157)
HSLhsl(290, 55%, 40%)
HSVhsv(290, 71%, 62%)
CMYKcmyk(11.5%, 70.7%, 0%, 38.4%)
CIE-LABlab(37.62, 54.45, -41.71)
CIE-LCHlch(37.62, 68.58, 322.55°)
OKLaboklab(48.6% 0.1424 -0.1167)
OKLCHoklch(48.6% 0.184 320.7)
XYZxyz(17.7095, 9.8782, 32.8656)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E9D #409D2E
analogous
#532E9D #8B2E9D #9D2E78
triadic
#8B2E9D #9D8B2E #2E9D8B
tetradic
#8B2E9D #9D532E #409D2E #2E789D
square
#8B2E9D #9D532E #409D2E #2E789D
split-complementary
#8B2E9D #789D2E #2E9D53
monochromatic
#37123E #61206E #8B2E9D #B241C7 #C570D5

Accessibility & contrast

On white

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

On black

2.98
#8B2E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8B2E9D#FFFFFF#000000##FFFFFF
##8B2E9D1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#8C4262
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2e9d;
/* rgb */ color: rgb(139, 46, 157);
/* oklch */ color: oklch(48.6% 0.184 320.7);
Tailwind
colors: {
  custom: {
    50: '#b06fba',
    500: '#8b2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e9d;
$custom-light: #b06fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e9d",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 290.27,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.1841,
    "h": 320.7
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#8B2E9D
secondary
#78BD6A
accent
#DE4A62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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