#8E2288#8E2288

#8E2288 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.182 H 330.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8E2288
RGBrgb(142, 34, 136)
HSLhsl(303, 61%, 35%)
HSVhsv(303, 76%, 56%)
CMYKcmyk(0%, 76.1%, 4.2%, 44.3%)
CIE-LABlab(35.35, 55.73, -32.47)
CIE-LCHlch(35.35, 64.50, 329.78°)
OKLaboklab(46.67% 0.1583 -0.0896)
OKLCHoklch(46.67% 0.182 330.5)
XYZxyz(16.1712, 8.6737, 24.1103)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2288 #228E28
analogous
#5E228E #8E2288 #8E2252
triadic
#8E2288 #888E22 #22888E
tetradic
#8E2288 #8E5E22 #228E28 #22528E
square
#8E2288 #8E5E22 #228E28 #22528E
split-complementary
#8E2288 #528E22 #228E5E
monochromatic
#2B0A29 #5D1659 #8E2288 #BF2EB7 #D654CF

Accessibility & contrast

On white

7.68
#8E2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8E2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2288
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2288#FFFFFF#000000##FFFFFF
##8E22881.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8B
Deuteranopia (green-blind)
#445885
Tritanopia (blue-blind)
#943053
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2288;
/* rgb */ color: rgb(142, 34, 136);
/* oklch */ color: oklch(46.7% 0.182 330.5);
Tailwind
colors: {
  custom: {
    50: '#b36aab',
    500: '#8e2288',
    950: '#000000',
  },
}
SCSS
$custom: #8e2288;
$custom-light: #b36aab;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2288",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 303.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46672,
    "c": 0.18189,
    "h": 330.5
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#8E2288
secondary
#52BA58
accent
#E44C43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2288

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

Preview Lab → · Contrast checker → · Palette generator →

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