#8E229F#8E229F

#8E229F is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.200 H 321.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8E229F
RGBrgb(142, 34, 159)
HSLhsl(292, 65%, 38%)
HSVhsv(292, 79%, 62%)
CMYKcmyk(10.7%, 78.6%, 0%, 37.6%)
CIE-LABlab(36.74, 59.72, -44.30)
CIE-LCHlch(36.74, 74.35, 323.43°)
OKLaboklab(48.11% 0.1573 -0.1241)
OKLCHoklch(48.11% 0.2 321.7)
XYZxyz(17.9847, 9.3991, 33.6611)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E229F #339F22
analogous
#4F229F #8E229F #9F2271
triadic
#8E229F #9F8E22 #229F8E
tetradic
#8E229F #9F4F22 #339F22 #22719F
square
#8E229F #9F4F22 #339F22 #22719F
split-complementary
#8E229F #719F22 #229F4F
monochromatic
#340C3A #61176D #8E229F #BB2DD1 #CC5FDD

Accessibility & contrast

On white

7.29
#8E229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8E229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E229F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E229F#FFFFFF#000000##FFFFFF
##8E229F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#345A9C
Tritanopia (blue-blind)
#8F3C60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e229f;
/* rgb */ color: rgb(142, 34, 159);
/* oklch */ color: oklch(48.1% 0.200 321.7);
Tailwind
colors: {
  custom: {
    50: '#b36bbc',
    500: '#8e229f',
    950: '#000000',
  },
}
SCSS
$custom: #8e229f;
$custom-light: #b36bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e229f",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 291.84,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.20031,
    "h": 321.7
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#8E229F
secondary
#69C15B
accent
#E84057
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E229F

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

Preview Lab → · Contrast checker → · Palette generator →

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