#8E229E#8E229E

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

Color values

HEX#8E229E
RGBrgb(142, 34, 158)
HSLhsl(292, 65%, 38%)
HSVhsv(292, 78%, 62%)
CMYKcmyk(10.1%, 78.5%, 0%, 38%)
CIE-LABlab(36.68, 59.53, -43.80)
CIE-LCHlch(36.68, 73.91, 323.66°)
OKLaboklab(48.05% 0.1574 -0.1226)
OKLCHoklch(48.05% 0.199 322.1)
XYZxyz(17.8983, 9.3645, 33.2059)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E229E #329E22
analogous
#50229E #8E229E #9E2270
triadic
#8E229E #9E8E22 #229E8E
tetradic
#8E229E #9E5022 #329E22 #22709E
square
#8E229E #9E5022 #329E22 #22709E
split-complementary
#8E229E #709E22 #229E50
monochromatic
#330C39 #61176C #8E229E #BB2DD0 #CC5EDC

Accessibility & contrast

On white

7.31
#8E229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E229E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E229E#FFFFFF#000000##FFFFFF
##8E229E1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#355A9B
Tritanopia (blue-blind)
#903B60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e229e;
/* rgb */ color: rgb(142, 34, 158);
/* oklch */ color: oklch(48.0% 0.199 322.1);
Tailwind
colors: {
  custom: {
    50: '#b36bbb',
    500: '#8e229e',
    950: '#000000',
  },
}
SCSS
$custom: #8e229e;
$custom-light: #b36bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e229e",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 292.258,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48045,
    "c": 0.19949,
    "h": 322.1
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#8E229E
secondary
#68C15B
accent
#E84056
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E229E

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

Preview Lab → · Contrast checker → · Palette generator →

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