#8E2E9C#8E2E9C

#8E2E9C is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.185 H 322.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8E2E9C
RGBrgb(142, 46, 156)
HSLhsl(292, 54%, 40%)
HSVhsv(292, 71%, 61%)
CMYKcmyk(9%, 70.5%, 0%, 38.8%)
CIE-LABlab(38.03, 54.94, -40.42)
CIE-LCHlch(38.03, 68.21, 323.65°)
OKLaboklab(48.97% 0.1461 -0.1128)
OKLCHoklch(48.97% 0.185 322.3)
XYZxyz(18.1325, 10.1061, 32.4416)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E9C #3C9C2E
analogous
#572E9C #8E2E9C #9C2E73
triadic
#8E2E9C #9C8E2E #2E9C8E
tetradic
#8E2E9C #9C572E #3C9C2E #2E739C
square
#8E2E9C #9C572E #3C9C2E #2E739C
split-complementary
#8E2E9C #739C2E #2E9C57
monochromatic
#38123D #63206D #8E2E9C #B640C7 #C870D5

Accessibility & contrast

On white

6.95
#8E2E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8E2E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2E9C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E9C#FFFFFF#000000##FFFFFF
##8E2E9C1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06539F
Deuteranopia (green-blind)
#3D5D99
Tritanopia (blue-blind)
#904162
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2e9c;
/* rgb */ color: rgb(142, 46, 156);
/* oklch */ color: oklch(49.0% 0.185 322.3);
Tailwind
colors: {
  custom: {
    50: '#b270ba',
    500: '#8e2e9c',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e9c;
$custom-light: #b270ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e9c",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 292.364,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4897,
    "c": 0.18457,
    "h": 322.3
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#8E2E9C
secondary
#74BC6A
accent
#DE4A5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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