#8E2F97#8E2F97

#8E2F97 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.179 H 324.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8E2F97
RGBrgb(142, 47, 151)
HSLhsl(295, 53%, 39%)
HSVhsv(295, 69%, 59%)
CMYKcmyk(6%, 68.9%, 0%, 40.8%)
CIE-LABlab(37.88, 53.61, -37.64)
CIE-LCHlch(37.88, 65.50, 324.93°)
OKLaboklab(48.76% 0.1451 -0.1047)
OKLCHoklch(48.76% 0.179 324.2)
XYZxyz(17.7573, 10.0192, 30.2708)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F97 #38972F
analogous
#5A2F97 #8E2F97 #972F6C
triadic
#8E2F97 #978E2F #2F978E
tetradic
#8E2F97 #975A2F #38972F #2F6C97
square
#8E2F97 #975A2F #38972F #2F6C97
split-complementary
#8E2F97 #6C972F #2F975A
monochromatic
#36123A #622068 #8E2F97 #B840C3 #C96ED2

Accessibility & contrast

On white

6.99
#8E2F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#8E2F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2F97
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F97#FFFFFF#000000##FFFFFF
##8E2F971.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#91405F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2f97;
/* rgb */ color: rgb(142, 47, 151);
/* oklch */ color: oklch(48.8% 0.179 324.2);
Tailwind
colors: {
  custom: {
    50: '#b270b6',
    500: '#8e2f97',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f97;
$custom-light: #b270b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f97",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 294.808,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.17891,
    "h": 324.2
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#8E2F97
secondary
#6FB968
accent
#DC4C58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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