#8E2283#8E2283

#8E2283 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.178 H 332.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8E2283
RGBrgb(142, 34, 131)
HSLhsl(306, 61%, 35%)
HSVhsv(306, 76%, 56%)
CMYKcmyk(0%, 76.1%, 7.7%, 44.3%)
CIE-LABlab(35.07, 54.92, -29.80)
CIE-LCHlch(35.07, 62.49, 331.51°)
OKLaboklab(46.39% 0.1581 -0.0819)
OKLCHoklch(46.39% 0.178 332.6)
XYZxyz(15.8242, 8.5349, 22.2823)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2283 #228E2D
analogous
#63228E #8E2283 #8E224D
triadic
#8E2283 #838E22 #22838E
tetradic
#8E2283 #8E6322 #228E2D #224D8E
square
#8E2283 #8E6322 #228E2D #224D8E
split-complementary
#8E2283 #4D8E22 #228E63
monochromatic
#2B0A28 #5D1655 #8E2283 #BF2EB1 #D654C9

Accessibility & contrast

On white

7.76
#8E2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2283
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2283#FFFFFF#000000##FFFFFF
##8E22831.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4986
Deuteranopia (green-blind)
#465880
Tritanopia (blue-blind)
#942E51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2283;
/* rgb */ color: rgb(142, 34, 131);
/* oklch */ color: oklch(46.4% 0.178 332.6);
Tailwind
colors: {
  custom: {
    50: '#b369a7',
    500: '#8e2283',
    950: '#000000',
  },
}
SCSS
$custom: #8e2283;
$custom-light: #b369a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2283",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 306.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46385,
    "c": 0.17808,
    "h": 332.6
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E2283

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

Preview Lab → · Contrast checker → · Palette generator →

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