#8E2F9E#8E2F9E

#8E2F9E is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.185 H 321.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8E2F9E
RGBrgb(142, 47, 158)
HSLhsl(291, 54%, 40%)
HSVhsv(291, 70%, 62%)
CMYKcmyk(10.1%, 70.3%, 0%, 38%)
CIE-LABlab(38.29, 54.92, -41.21)
CIE-LCHlch(38.29, 68.66, 323.11°)
OKLaboklab(49.2% 0.1449 -0.1151)
OKLCHoklch(49.2% 0.185 321.5)
XYZxyz(18.3427, 10.2534, 33.3541)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F9E #3F9E2F
analogous
#562F9E #8E2F9E #9E2F77
triadic
#8E2F9E #9E8E2F #2F9E8E
tetradic
#8E2F9E #9E562F #3F9E2F #2F779E
square
#8E2F9E #9E562F #3F9E2F #2F779E
split-complementary
#8E2F9E #779E2F #2F9E56
monochromatic
#391340 #64216F #8E2F9E #B443C7 #C772D5

Accessibility & contrast

On white

6.88
#8E2F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8E2F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2F9E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F9E#FFFFFF#000000##FFFFFF
##8E2F9E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0453A1
Deuteranopia (green-blind)
#3C5E9B
Tritanopia (blue-blind)
#8F4363
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e2f9e;
/* rgb */ color: rgb(142, 47, 158);
/* oklch */ color: oklch(49.2% 0.185 321.5);
Tailwind
colors: {
  custom: {
    50: '#b270bb',
    500: '#8e2f9e',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f9e;
$custom-light: #b270bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f9e",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 291.351,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49196,
    "c": 0.1851,
    "h": 321.5
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#8E2F9E
secondary
#78BD6C
accent
#DE4A60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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