#8E2B9B#8E2B9B

#8E2B9B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.187 H 322.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8E2B9B
RGBrgb(142, 43, 155)
HSLhsl(293, 57%, 39%)
HSVhsv(293, 72%, 61%)
CMYKcmyk(8.4%, 72.3%, 0%, 39.2%)
CIE-LABlab(37.56, 55.90, -40.56)
CIE-LCHlch(37.56, 69.07, 324.04°)
OKLaboklab(48.62% 0.1492 -0.1132)
OKLCHoklch(48.62% 0.187 322.8)
XYZxyz(17.9350, 9.8461, 31.9598)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B9B #389B2B
analogous
#562B9B #8E2B9B #9B2B70
triadic
#8E2B9B #9B8E2B #2B9B8E
tetradic
#8E2B9B #9B562B #389B2B #2B709B
square
#8E2B9B #9B562B #389B2B #2B709B
split-complementary
#8E2B9B #709B2B #2B9B56
monochromatic
#36103B #621E6B #8E2B9B #B83BC9 #C96BD6

Accessibility & contrast

On white

7.07
#8E2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8E2B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B9B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B9B#FFFFFF#000000##FFFFFF
##8E2B9B1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#903F60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e2b9b;
/* rgb */ color: rgb(142, 43, 155);
/* oklch */ color: oklch(48.6% 0.187 322.8);
Tailwind
colors: {
  custom: {
    50: '#b26eb9',
    500: '#8e2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b9b;
$custom-light: #b26eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b9b",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 293.036,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48616,
    "c": 0.18731,
    "h": 322.8
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#8E2B9B
secondary
#6FBC65
accent
#E0485A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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