#8E2097#8E2097

#8E2097 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.196 H 324.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8E2097
RGBrgb(142, 32, 151)
HSLhsl(295, 65%, 36%)
HSVhsv(295, 79%, 59%)
CMYKcmyk(6%, 78.8%, 0%, 40.8%)
CIE-LABlab(36.02, 58.90, -40.60)
CIE-LCHlch(36.02, 71.53, 325.42°)
OKLaboklab(47.44% 0.1596 -0.1132)
OKLCHoklch(47.44% 0.196 324.7)
XYZxyz(17.2573, 9.0193, 30.1041)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2097 #299720
analogous
#522097 #8E2097 #972064
triadic
#8E2097 #978E20 #20978E
tetradic
#8E2097 #975220 #299720 #206497
square
#8E2097 #975220 #299720 #206497
split-complementary
#8E2097 #649720 #209752
monochromatic
#2F0B32 #5F1564 #8E2097 #BD2BC9 #D156DB

Accessibility & contrast

On white

7.49
#8E2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E2097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2097
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2097#FFFFFF#000000##FFFFFF
##8E20971.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#91375B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2097;
/* rgb */ color: rgb(142, 32, 151);
/* oklch */ color: oklch(47.4% 0.196 324.7);
Tailwind
colors: {
  custom: {
    50: '#b369b6',
    500: '#8e2097',
    950: '#000000',
  },
}
SCSS
$custom: #8e2097;
$custom-light: #b369b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2097",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 295.462,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.19572,
    "h": 324.7
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#8E2097
secondary
#5CBF54
accent
#E8404D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2097

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

Preview Lab → · Contrast checker → · Palette generator →

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