#8B2893#8B2893

#8B2893 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.183 H 324.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8B2893
RGBrgb(139, 40, 147)
HSLhsl(296, 57%, 37%)
HSVhsv(296, 73%, 58%)
CMYKcmyk(5.4%, 72.8%, 0%, 42.4%)
CIE-LABlab(36.20, 54.88, -37.90)
CIE-LCHlch(36.20, 66.69, 325.37°)
OKLaboklab(47.39% 0.149 -0.1055)
OKLCHoklch(47.39% 0.183 324.7)
XYZxyz(16.6723, 9.1142, 28.4792)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2893 #309328
analogous
#562893 #8B2893 #932866
triadic
#8B2893 #938B28 #28938B
tetradic
#8B2893 #935628 #309328 #286693
square
#8B2893 #935628 #309328 #286693
split-complementary
#8B2893 #669328 #289356
monochromatic
#300E33 #5E1B63 #8B2893 #B835C3 #CC61D4

Accessibility & contrast

On white

7.44
#8B2893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8B2893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2893
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2893#FFFFFF#000000##FFFFFF
##8B28931.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064D96
Deuteranopia (green-blind)
#3D5990
Tritanopia (blue-blind)
#8E3A5B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2893;
/* rgb */ color: rgb(139, 40, 147);
/* oklch */ color: oklch(47.4% 0.183 324.7);
Tailwind
colors: {
  custom: {
    50: '#b06cb3',
    500: '#8b2893',
    950: '#000000',
  },
}
SCSS
$custom: #8b2893;
$custom-light: #b06cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2893",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 295.514,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47391,
    "c": 0.1826,
    "h": 324.7
  },
  "luminance": 0.09113
}

Semantic roles & 50–950 ramp

primary
#8B2893
secondary
#64BA5D
accent
#E04753
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2893

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

Preview Lab → · Contrast checker → · Palette generator →

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