#8E2280#8E2280

#8E2280 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.176 H 333.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8E2280
RGBrgb(142, 34, 128)
HSLhsl(308, 61%, 35%)
HSVhsv(308, 76%, 56%)
CMYKcmyk(0%, 76.1%, 9.9%, 44.3%)
CIE-LABlab(34.91, 54.45, -28.19)
CIE-LCHlch(34.91, 61.31, 332.63°)
OKLaboklab(46.22% 0.158 -0.0772)
OKLCHoklch(46.22% 0.176 333.9)
XYZxyz(15.6238, 8.4547, 21.2270)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2280 #228E30
analogous
#66228E #8E2280 #8E224A
triadic
#8E2280 #808E22 #22808E
tetradic
#8E2280 #8E6622 #228E30 #224A8E
square
#8E2280 #8E6622 #228E30 #224A8E
split-complementary
#8E2280 #4A8E22 #228E66
monochromatic
#2B0A27 #5D1653 #8E2280 #BF2EAD #D654C5

Accessibility & contrast

On white

7.80
#8E2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8E2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2280
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2280#FFFFFF#000000##FFFFFF
##8E22801.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4883
Deuteranopia (green-blind)
#48587D
Tritanopia (blue-blind)
#952C4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2280;
/* rgb */ color: rgb(142, 34, 128);
/* oklch */ color: oklch(46.2% 0.176 333.9);
Tailwind
colors: {
  custom: {
    50: '#b369a5',
    500: '#8e2280',
    950: '#000000',
  },
}
SCSS
$custom: #8e2280;
$custom-light: #b369a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2280",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 307.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46218,
    "c": 0.17583,
    "h": 333.9
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#8E2280
secondary
#52BA5F
accent
#E45843
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2280

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

Preview Lab → · Contrast checker → · Palette generator →

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