#8E30AF#8E30AF

#8E30AF is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.199 H 315.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8E30AF
RGBrgb(142, 48, 175)
HSLhsl(284, 57%, 44%)
HSVhsv(284, 73%, 69%)
CMYKcmyk(18.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(39.51, 57.86, -49.43)
CIE-LCHlch(39.51, 76.09, 319.49°)
OKLaboklab(50.41% 0.1427 -0.1392)
OKLCHoklch(50.41% 0.199 315.7)
XYZxyz(19.9489, 10.9606, 41.6139)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30AF #51AF30
analogous
#4E30AF #8E30AF #AF3090
triadic
#8E30AF #AF8E30 #30AF8E
tetradic
#8E30AF #AF4E30 #51AF30 #3090AF
square
#8E30AF #AF4E30 #51AF30 #3090AF
split-complementary
#8E30AF #90AF30 #30AF4E
monochromatic
#40164F #67237F #8E30AF #AD4ECE #C37EDC

Accessibility & contrast

On white

6.58
#8E30AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8E30AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30AF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30AF#FFFFFF#000000##FFFFFF
##8E30AF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#2E60AC
Tritanopia (blue-blind)
#8C4B6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e30af;
/* rgb */ color: rgb(142, 48, 175);
/* oklch */ color: oklch(50.4% 0.199 315.7);
Tailwind
colors: {
  custom: {
    50: '#b371c8',
    500: '#8e30af',
    950: '#000000',
  },
}
SCSS
$custom: #8e30af;
$custom-light: #b371c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30af",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 284.409,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.1993,
    "h": 315.7
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#8E30AF
secondary
#8BC476
accent
#E0486F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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