#8E2299#8E2299

#8E2299 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.195 H 323.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8E2299
RGBrgb(142, 34, 153)
HSLhsl(294, 64%, 37%)
HSVhsv(294, 78%, 60%)
CMYKcmyk(7.2%, 77.8%, 0%, 40%)
CIE-LABlab(36.36, 58.64, -41.28)
CIE-LCHlch(36.36, 71.71, 324.86°)
OKLaboklab(47.72% 0.1578 -0.1152)
OKLCHoklch(47.72% 0.195 323.9)
XYZxyz(17.4766, 9.1958, 30.9853)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2299 #2D9922
analogous
#532299 #8E2299 #992269
triadic
#8E2299 #998E22 #22998E
tetradic
#8E2299 #995322 #2D9922 #226999
square
#8E2299 #995322 #2D9922 #226999
split-complementary
#8E2299 #699922 #229953
monochromatic
#310C35 #601767 #8E2299 #BC2DCB #CF5BDB

Accessibility & contrast

On white

7.40
#8E2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8E2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2299
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2299#FFFFFF#000000##FFFFFF
##8E22991.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#395A96
Tritanopia (blue-blind)
#91395D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2299;
/* rgb */ color: rgb(142, 34, 153);
/* oklch */ color: oklch(47.7% 0.195 323.9);
Tailwind
colors: {
  custom: {
    50: '#b36ab8',
    500: '#8e2299',
    950: '#000000',
  },
}
SCSS
$custom: #8e2299;
$custom-light: #b36ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2299",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 294.454,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.1954,
    "h": 323.9
  },
  "luminance": 0.09195
}

Semantic roles & 50–950 ramp

primary
#8E2299
secondary
#61BF58
accent
#E74150
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2299

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

Preview Lab → · Contrast checker → · Palette generator →

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