#8E2285#8E2285

#8E2285 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.180 H 331.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8E2285
RGBrgb(142, 34, 133)
HSLhsl(305, 61%, 35%)
HSVhsv(305, 76%, 56%)
CMYKcmyk(0%, 76.1%, 6.3%, 44.3%)
CIE-LABlab(35.18, 55.24, -30.87)
CIE-LCHlch(35.18, 63.28, 330.80°)
OKLaboklab(46.5% 0.1582 -0.085)
OKLCHoklch(46.5% 0.18 331.8)
XYZxyz(15.9610, 8.5896, 23.0031)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2285 #228E2B
analogous
#61228E #8E2285 #8E224F
triadic
#8E2285 #858E22 #22858E
tetradic
#8E2285 #8E6122 #228E2B #224F8E
square
#8E2285 #8E6122 #228E2B #224F8E
split-complementary
#8E2285 #4F8E22 #228E61
monochromatic
#2B0A29 #5D1657 #8E2285 #BF2EB3 #D654CB

Accessibility & contrast

On white

7.73
#8E2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8E2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2285
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2285#FFFFFF#000000##FFFFFF
##8E22851.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194988
Deuteranopia (green-blind)
#455882
Tritanopia (blue-blind)
#942F52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2285;
/* rgb */ color: rgb(142, 34, 133);
/* oklch */ color: oklch(46.5% 0.180 331.8);
Tailwind
colors: {
  custom: {
    50: '#b369a9',
    500: '#8e2285',
    950: '#000000',
  },
}
SCSS
$custom: #8e2285;
$custom-light: #b369a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2285",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 305,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46499,
    "c": 0.17959,
    "h": 331.8
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#8E2285
secondary
#52BA5B
accent
#E45143
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2285

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

Preview Lab → · Contrast checker → · Palette generator →

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