#8E38AF#8E38AF

#8E38AF is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.189 H 315.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8E38AF
RGBrgb(142, 56, 175)
HSLhsl(283, 52%, 45%)
HSVhsv(283, 68%, 69%)
CMYKcmyk(18.9%, 68%, 0%, 31.4%)
CIE-LABlab(40.69, 54.53, -47.53)
CIE-LCHlch(40.69, 72.34, 318.92°)
OKLaboklab(51.26% 0.1342 -0.1337)
OKLCHoklch(51.26% 0.189 315.1)
XYZxyz(20.3061, 11.6750, 41.7330)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E38AF #59AF38
analogous
#5238AF #8E38AF #AF3895
triadic
#8E38AF #AF8E38 #38AF8E
tetradic
#8E38AF #AF5238 #59AF38 #3895AF
square
#8E38AF #AF5238 #59AF38 #3895AF
split-complementary
#8E38AF #95AF38 #38AF52
monochromatic
#431A52 #682981 #8E38AF #AB5ACA #C388D9

Accessibility & contrast

On white

6.30
#8E38AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8E38AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E38AF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E38AF#FFFFFF#000000##FFFFFF
##8E38AF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#8B4F6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e38af;
/* rgb */ color: rgb(142, 56, 175);
/* oklch */ color: oklch(51.3% 0.189 315.1);
Tailwind
colors: {
  custom: {
    50: '#b375c7',
    500: '#8e38af',
    950: '#000000',
  },
}
SCSS
$custom: #8e38af;
$custom-light: #b375c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e38af",
  "rgb": {
    "r": 142,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 283.361,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.1894,
    "h": 315.1
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#8E38AF
secondary
#92C380
accent
#DB4D74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8E38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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