#8B2288#8B2288

#8B2288 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.180 H 329.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8B2288
RGBrgb(139, 34, 136)
HSLhsl(302, 61%, 34%)
HSVhsv(302, 76%, 55%)
CMYKcmyk(0%, 75.5%, 2.2%, 45.5%)
CIE-LABlab(34.83, 55.05, -33.33)
CIE-LCHlch(34.83, 64.35, 328.81°)
OKLaboklab(46.2% 0.155 -0.0922)
OKLCHoklch(46.2% 0.18 329.3)
XYZxyz(15.6633, 8.4118, 24.0864)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2288 #228B25
analogous
#5A228B #8B2288 #8B2254
triadic
#8B2288 #888B22 #22888B
tetradic
#8B2288 #8B5A22 #228B25 #22548B
square
#8B2288 #8B5A22 #228B25 #22548B
split-complementary
#8B2288 #548B22 #228B5A
monochromatic
#290A28 #5A1658 #8B2288 #BC2EB8 #D553D1

Accessibility & contrast

On white

7.83
#8B2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8B2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2288
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2288#FFFFFF#000000##FFFFFF
##8B22881.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498B
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#903153
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2288;
/* rgb */ color: rgb(139, 34, 136);
/* oklch */ color: oklch(46.2% 0.180 329.3);
Tailwind
colors: {
  custom: {
    50: '#b069ab',
    500: '#8b2288',
    950: '#000000',
  },
}
SCSS
$custom: #8b2288;
$custom-light: #b069ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2288",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 301.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.18035,
    "h": 329.3
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#8B2288
secondary
#50B853
accent
#E44944
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2288

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

Preview Lab → · Contrast checker → · Palette generator →

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