#8E2383#8E2383

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

Color values

HEX#8E2383
RGBrgb(142, 35, 131)
HSLhsl(306, 60%, 35%)
HSVhsv(306, 75%, 56%)
CMYKcmyk(0%, 75.4%, 7.7%, 44.3%)
CIE-LABlab(35.19, 54.59, -29.62)
CIE-LCHlch(35.19, 62.11, 331.52°)
OKLaboklab(46.47% 0.1572 -0.0814)
OKLCHoklch(46.47% 0.177 332.6)
XYZxyz(15.8532, 8.5929, 22.2920)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2383 #238E2E
analogous
#63238E #8E2383 #8E234E
triadic
#8E2383 #838E23 #23838E
tetradic
#8E2383 #8E6323 #238E2E #234E8E
square
#8E2383 #8E6323 #238E2E #234E8E
split-complementary
#8E2383 #4E8E23 #238E63
monochromatic
#2C0B28 #5D1756 #8E2383 #BF2FB0 #D556C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2383#FFFFFF#000000##FFFFFF
##8E23831.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)
#1D4986
Deuteranopia (green-blind)
#465880
Tritanopia (blue-blind)
#942F51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2383;
/* rgb */ color: rgb(142, 35, 131);
/* oklch */ color: oklch(46.5% 0.177 332.6);
Tailwind
colors: {
  custom: {
    50: '#b26aa7',
    500: '#8e2383',
    950: '#000000',
  },
}
SCSS
$custom: #8e2383;
$custom-light: #b26aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2383",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 306.168,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46468,
    "c": 0.17698,
    "h": 332.6
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#8E2383
secondary
#53B95E
accent
#E45544
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2383

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

Preview Lab → · Contrast checker → · Palette generator →

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