#8E2284#8E2284

#8E2284 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.179 H 332.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8E2284
RGBrgb(142, 34, 132)
HSLhsl(306, 61%, 35%)
HSVhsv(306, 76%, 56%)
CMYKcmyk(0%, 76.1%, 7%, 44.3%)
CIE-LABlab(35.13, 55.08, -30.34)
CIE-LCHlch(35.13, 62.88, 331.15°)
OKLaboklab(46.44% 0.1582 -0.0834)
OKLCHoklch(46.44% 0.179 332.2)
XYZxyz(15.8923, 8.5621, 22.6410)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2284 #228E2C
analogous
#62228E #8E2284 #8E224E
triadic
#8E2284 #848E22 #22848E
tetradic
#8E2284 #8E6222 #228E2C #224E8E
square
#8E2284 #8E6222 #228E2C #224E8E
split-complementary
#8E2284 #4E8E22 #228E62
monochromatic
#2B0A28 #5D1656 #8E2284 #BF2EB2 #D654CA

Accessibility & contrast

On white

7.74
#8E2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8E2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2284
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2284#FFFFFF#000000##FFFFFF
##8E22841.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4987
Deuteranopia (green-blind)
#465881
Tritanopia (blue-blind)
#942E51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2284;
/* rgb */ color: rgb(142, 34, 132);
/* oklch */ color: oklch(46.4% 0.179 332.2);
Tailwind
colors: {
  custom: {
    50: '#b369a8',
    500: '#8e2284',
    950: '#000000',
  },
}
SCSS
$custom: #8e2284;
$custom-light: #b369a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2284",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 305.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46442,
    "c": 0.17883,
    "h": 332.2
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#8E2284
secondary
#52BA5C
accent
#E45243
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2284

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

Preview Lab → · Contrast checker → · Palette generator →

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