#8E229D#8E229D

#8E229D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.199 H 322.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8E229D
RGBrgb(142, 34, 157)
HSLhsl(293, 64%, 37%)
HSVhsv(293, 78%, 62%)
CMYKcmyk(9.6%, 78.3%, 0%, 38.4%)
CIE-LABlab(36.61, 59.35, -43.30)
CIE-LCHlch(36.61, 73.47, 323.89°)
OKLaboklab(47.98% 0.1575 -0.1211)
OKLCHoklch(47.98% 0.199 322.4)
XYZxyz(17.8125, 9.3302, 32.7544)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E229D #319D22
analogous
#51229D #8E229D #9D226E
triadic
#8E229D #9D8E22 #229D8E
tetradic
#8E229D #9D5122 #319D22 #226E9D
square
#8E229D #9D5122 #319D22 #226E9D
split-complementary
#8E229D #6E9D22 #229D51
monochromatic
#330C38 #61176B #8E229D #BB2DCF #CD5DDC

Accessibility & contrast

On white

7.33
#8E229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E229D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E229D#FFFFFF#000000##FFFFFF
##8E229D1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#365A9A
Tritanopia (blue-blind)
#903B5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e229d;
/* rgb */ color: rgb(142, 34, 157);
/* oklch */ color: oklch(48.0% 0.199 322.4);
Tailwind
colors: {
  custom: {
    50: '#b36aba',
    500: '#8e229d',
    950: '#000000',
  },
}
SCSS
$custom: #8e229d;
$custom-light: #b36aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e229d",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 292.683,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.19866,
    "h": 322.4
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#8E229D
secondary
#67C15A
accent
#E74055
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E229D

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

Preview Lab → · Contrast checker → · Palette generator →

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