#8E2E98#8E2E98

#8E2E98 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.181 H 323.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8E2E98
RGBrgb(142, 46, 152)
HSLhsl(294, 54%, 39%)
HSVhsv(294, 70%, 60%)
CMYKcmyk(6.6%, 69.7%, 0%, 40.4%)
CIE-LABlab(37.79, 54.19, -38.38)
CIE-LCHlch(37.79, 66.41, 324.69°)
OKLaboklab(48.72% 0.1462 -0.1069)
OKLCHoklch(48.72% 0.181 323.8)
XYZxyz(17.7993, 9.9728, 30.6871)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E98 #38982E
analogous
#592E98 #8E2E98 #982E6D
triadic
#8E2E98 #988E2E #2E988E
tetradic
#8E2E98 #98592E #38982E #2E6D98
square
#8E2E98 #98592E #38982E #2E6D98
split-complementary
#8E2E98 #6D982E #2E9859
monochromatic
#36123A #622069 #8E2E98 #B83EC5 #C96DD3

Accessibility & contrast

On white

7.01
#8E2E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8E2E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E98
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E98#FFFFFF#000000##FFFFFF
##8E2E981.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529B
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#91405F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2e98;
/* rgb */ color: rgb(142, 46, 152);
/* oklch */ color: oklch(48.7% 0.181 323.8);
Tailwind
colors: {
  custom: {
    50: '#b26fb7',
    500: '#8e2e98',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e98;
$custom-light: #b26fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e98",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 294.34,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48722,
    "c": 0.18106,
    "h": 323.8
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#8E2E98
secondary
#6FBA68
accent
#DD4B59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2E98

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

Preview Lab → · Contrast checker → · Palette generator →

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