#8E229C#8E229C

#8E229C is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.198 H 322.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8E229C
RGBrgb(142, 34, 156)
HSLhsl(293, 64%, 37%)
HSVhsv(293, 78%, 61%)
CMYKcmyk(9%, 78.2%, 0%, 38.8%)
CIE-LABlab(36.55, 59.17, -42.79)
CIE-LCHlch(36.55, 73.03, 324.13°)
OKLaboklab(47.91% 0.1576 -0.1197)
OKLCHoklch(47.91% 0.198 322.8)
XYZxyz(17.7275, 9.2962, 32.3066)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E229C #309C22
analogous
#51229C #8E229C #9C226D
triadic
#8E229C #9C8E22 #229C8E
tetradic
#8E229C #9C5122 #309C22 #226D9C
square
#8E229C #9C5122 #309C22 #226D9C
split-complementary
#8E229C #6D9C22 #229C51
monochromatic
#330C38 #60176A #8E229C #BC2DCE #CD5DDC

Accessibility & contrast

On white

7.35
#8E229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8E229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E229C
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E229C#FFFFFF#000000##FFFFFF
##8E229C1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#365A99
Tritanopia (blue-blind)
#903A5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e229c;
/* rgb */ color: rgb(142, 34, 156);
/* oklch */ color: oklch(47.9% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#b36aba',
    500: '#8e229c',
    950: '#000000',
  },
}
SCSS
$custom: #8e229c;
$custom-light: #b36aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e229c",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 293.115,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47913,
    "c": 0.19785,
    "h": 322.8
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#8E229C
secondary
#65C05A
accent
#E74154
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E229C

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

Preview Lab → · Contrast checker → · Palette generator →

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