#8E2E9F#8E2E9F

#8E2E9F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.187 H 321.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8E2E9F
RGBrgb(142, 46, 159)
HSLhsl(291, 55%, 40%)
HSVhsv(291, 71%, 62%)
CMYKcmyk(10.7%, 71.1%, 0%, 37.6%)
CIE-LABlab(38.21, 55.50, -41.94)
CIE-LCHlch(38.21, 69.57, 322.92°)
OKLaboklab(49.16% 0.146 -0.1172)
OKLCHoklch(49.16% 0.187 321.2)
XYZxyz(18.3896, 10.2090, 33.7960)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E9F #3F9F2E
analogous
#552E9F #8E2E9F #9F2E78
triadic
#8E2E9F #9F8E2E #2E9F8E
tetradic
#8E2E9F #9F552E #3F9F2E #2E789F
square
#8E2E9F #9F552E #3F9F2E #2E789F
split-complementary
#8E2E9F #789F2E #2E9F55
monochromatic
#391340 #642070 #8E2E9F #B442C8 #C771D6

Accessibility & contrast

On white

6.90
#8E2E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8E2E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2E9F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E9F#FFFFFF#000000##FFFFFF
##8E2E9F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#3B5D9C
Tritanopia (blue-blind)
#8F4363
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e2e9f;
/* rgb */ color: rgb(142, 46, 159);
/* oklch */ color: oklch(49.2% 0.187 321.2);
Tailwind
colors: {
  custom: {
    50: '#b270bc',
    500: '#8e2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e9f;
$custom-light: #b270bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e9f",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 290.973,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.18722,
    "h": 321.2
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#8E2E9F
secondary
#78BE6B
accent
#DE4960
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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