#8E229B#8E229B

#8E229B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.197 H 323.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8E229B
RGBrgb(142, 34, 155)
HSLhsl(294, 64%, 37%)
HSVhsv(294, 78%, 61%)
CMYKcmyk(8.4%, 78.1%, 0%, 39.2%)
CIE-LABlab(36.48, 58.99, -42.29)
CIE-LCHlch(36.48, 72.59, 324.37°)
OKLaboklab(47.85% 0.1577 -0.1182)
OKLCHoklch(47.85% 0.197 323.1)
XYZxyz(17.6432, 9.2625, 31.8625)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E229B #2F9B22
analogous
#52229B #8E229B #9B226B
triadic
#8E229B #9B8E22 #229B8E
tetradic
#8E229B #9B5222 #2F9B22 #226B9B
square
#8E229B #9B5222 #2F9B22 #226B9B
split-complementary
#8E229B #6B9B22 #229B52
monochromatic
#320C37 #601769 #8E229B #BC2DCD #CE5CDB

Accessibility & contrast

On white

7.36
#8E229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E229B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E229B#FFFFFF#000000##FFFFFF
##8E229B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#375A98
Tritanopia (blue-blind)
#903A5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e229b;
/* rgb */ color: rgb(142, 34, 155);
/* oklch */ color: oklch(47.8% 0.197 323.1);
Tailwind
colors: {
  custom: {
    50: '#b36ab9',
    500: '#8e229b',
    950: '#000000',
  },
}
SCSS
$custom: #8e229b;
$custom-light: #b36ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e229b",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 293.554,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.19703,
    "h": 323.1
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#8E229B
secondary
#64C059
accent
#E74153
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E229B

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

Preview Lab → · Contrast checker → · Palette generator →

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