#8E2D9B#8E2D9B

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

Color values

HEX#8E2D9B
RGBrgb(142, 45, 155)
HSLhsl(293, 55%, 39%)
HSVhsv(293, 71%, 61%)
CMYKcmyk(8.4%, 71%, 0%, 39.2%)
CIE-LABlab(37.83, 55.14, -40.13)
CIE-LCHlch(37.83, 68.20, 323.95°)
OKLaboklab(48.81% 0.1472 -0.112)
OKLCHoklch(48.81% 0.185 322.7)
XYZxyz(18.0095, 9.9951, 31.9846)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D9B #3A9B2D
analogous
#572D9B #8E2D9B #9B2D71
triadic
#8E2D9B #9B8E2D #2D9B8E
tetradic
#8E2D9B #9B572D #3A9B2D #2D719B
square
#8E2D9B #9B572D #3A9B2D #2D719B
split-complementary
#8E2D9B #719B2D #2D9B57
monochromatic
#37113C #631F6C #8E2D9B #B73EC7 #C96ED5

Accessibility & contrast

On white

7.00
#8E2D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2D9B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D9B#FFFFFF#000000##FFFFFF
##8E2D9B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05529E
Deuteranopia (green-blind)
#3D5D98
Tritanopia (blue-blind)
#904061
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2d9b;
/* rgb */ color: rgb(142, 45, 155);
/* oklch */ color: oklch(48.8% 0.185 322.7);
Tailwind
colors: {
  custom: {
    50: '#b26fb9',
    500: '#8e2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d9b;
$custom-light: #b26fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d9b",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 292.909,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.18492,
    "h": 322.7
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#8E2D9B
secondary
#72BC68
accent
#DE495B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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