#8E229A#8E229A

#8E229A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.196 H 323.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8E229A
RGBrgb(142, 34, 154)
HSLhsl(294, 64%, 37%)
HSVhsv(294, 78%, 60%)
CMYKcmyk(7.8%, 77.9%, 0%, 39.6%)
CIE-LABlab(36.42, 58.82, -41.78)
CIE-LCHlch(36.42, 72.15, 324.61°)
OKLaboklab(47.78% 0.1577 -0.1167)
OKLCHoklch(47.78% 0.196 323.5)
XYZxyz(17.5596, 9.2290, 31.4221)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E229A #2E9A22
analogous
#52229A #8E229A #9A226A
triadic
#8E229A #9A8E22 #229A8E
tetradic
#8E229A #9A5222 #2E9A22 #226A9A
square
#8E229A #9A5222 #2E9A22 #226A9A
split-complementary
#8E229A #6A9A22 #229A52
monochromatic
#320C36 #601768 #8E229A #BC2DCC #CE5BDB

Accessibility & contrast

On white

7.38
#8E229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8E229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E229A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E229A#FFFFFF#000000##FFFFFF
##8E229A1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#385A97
Tritanopia (blue-blind)
#90395D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e229a;
/* rgb */ color: rgb(142, 34, 154);
/* oklch */ color: oklch(47.8% 0.196 323.5);
Tailwind
colors: {
  custom: {
    50: '#b36ab8',
    500: '#8e229a',
    950: '#000000',
  },
}
SCSS
$custom: #8e229a;
$custom-light: #b36ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e229a",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 294,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.19621,
    "h": 323.5
  },
  "luminance": 0.09228
}

Semantic roles & 50–950 ramp

primary
#8E229A
secondary
#63BF58
accent
#E74152
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E229A

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

Preview Lab → · Contrast checker → · Palette generator →

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