#8E29A2#8E29A2

#8E29A2 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.196 H 320.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8E29A2
RGBrgb(142, 41, 162)
HSLhsl(290, 60%, 40%)
HSVhsv(290, 75%, 64%)
CMYKcmyk(12.3%, 74.7%, 0%, 36.5%)
CIE-LABlab(37.75, 57.94, -44.50)
CIE-LCHlch(37.75, 73.06, 322.48°)
OKLaboklab(48.89% 0.1508 -0.1247)
OKLCHoklch(48.89% 0.196 320.4)
XYZxyz(18.4691, 9.9463, 35.1224)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E29A2 #3DA229
analogous
#5229A2 #8E29A2 #A22979
triadic
#8E29A2 #A28E29 #29A28E
tetradic
#8E29A2 #A25229 #3DA229 #2979A2
square
#8E29A2 #A25229 #3DA229 #2979A2
split-complementary
#8E29A2 #79A229 #29A252
monochromatic
#381040 #631D71 #8E29A2 #B53BCD #C86CDA

Accessibility & contrast

On white

7.03
#8E29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8E29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E29A2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E29A2#FFFFFF#000000##FFFFFF
##8E29A21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#355C9F
Tritanopia (blue-blind)
#8F4164
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e29a2;
/* rgb */ color: rgb(142, 41, 162);
/* oklch */ color: oklch(48.9% 0.196 320.4);
Tailwind
colors: {
  custom: {
    50: '#b36ebe',
    500: '#8e29a2',
    950: '#000000',
  },
}
SCSS
$custom: #8e29a2;
$custom-light: #b36ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e29a2",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 290.083,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.19564,
    "h": 320.4
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#8E29A2
secondary
#75C067
accent
#E3455F
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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