#8E2697#8E2697

#8E2697 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.190 H 324.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8E2697
RGBrgb(142, 38, 151)
HSLhsl(295, 60%, 37%)
HSVhsv(295, 75%, 59%)
CMYKcmyk(6%, 74.8%, 0%, 40.8%)
CIE-LABlab(36.69, 56.97, -39.53)
CIE-LCHlch(36.69, 69.34, 325.24°)
OKLaboklab(47.92% 0.1543 -0.1101)
OKLCHoklch(47.92% 0.19 324.5)
XYZxyz(17.4339, 9.3725, 30.1630)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2697 #2F9726
analogous
#562697 #8E2697 #972668
triadic
#8E2697 #978E26 #26978E
tetradic
#8E2697 #975626 #2F9726 #266897
square
#8E2697 #975626 #2F9726 #266897
split-complementary
#8E2697 #689726 #269756
monochromatic
#320D35 #601A66 #8E2697 #BC32C8 #CE60D7

Accessibility & contrast

On white

7.31
#8E2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2697
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2697#FFFFFF#000000##FFFFFF
##8E26971.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#3C5B94
Tritanopia (blue-blind)
#913A5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2697;
/* rgb */ color: rgb(142, 38, 151);
/* oklch */ color: oklch(47.9% 0.190 324.5);
Tailwind
colors: {
  custom: {
    50: '#b36cb6',
    500: '#8e2697',
    950: '#000000',
  },
}
SCSS
$custom: #8e2697;
$custom-light: #b36cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2697",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 295.221,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47915,
    "c": 0.18961,
    "h": 324.5
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#8E2697
secondary
#64BC5C
accent
#E34551
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2697

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

Preview Lab → · Contrast checker → · Palette generator →

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