#8E2E8D#8E2E8D

#8E2E8D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.172 H 328.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8E2E8D
RGBrgb(142, 46, 141)
HSLhsl(301, 51%, 37%)
HSVhsv(301, 68%, 56%)
CMYKcmyk(0%, 67.6%, 0.7%, 44.3%)
CIE-LABlab(37.17, 52.21, -32.67)
CIE-LCHlch(37.17, 61.58, 327.97°)
OKLaboklab(48.07% 0.146 -0.0902)
OKLCHoklch(48.07% 0.172 328.3)
XYZxyz(16.9398, 9.6290, 26.1605)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E8D #2E8E2F
analogous
#5F2E8E #8E2E8D #8E2E5D
triadic
#8E2E8D #8D8E2E #2E8D8E
tetradic
#8E2E8D #8E5F2E #2E8E2F #2E5D8E
square
#8E2E8D #8E5F2E #2E8E2F #2E5D8E
split-complementary
#8E2E8D #5D8E2E #2E8E5F
monochromatic
#321031 #601F5F #8E2E8D #BC3DBB #CE68CD

Accessibility & contrast

On white

7.18
#8E2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8E2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E8D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E8D#FFFFFF#000000##FFFFFF
##8E2E8D1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#475C8A
Tritanopia (blue-blind)
#933B5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2e8d;
/* rgb */ color: rgb(142, 46, 141);
/* oklch */ color: oklch(48.1% 0.172 328.3);
Tailwind
colors: {
  custom: {
    50: '#b26faf',
    500: '#8e2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e8d;
$custom-light: #b26faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e8d",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 300.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4807,
    "c": 0.17162,
    "h": 328.3
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#8E2E8D
secondary
#63B564
accent
#DB4F4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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