#8E30A2#8E30A2

#8E30A2 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.187 H 320.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8E30A2
RGBrgb(142, 48, 162)
HSLhsl(289, 54%, 41%)
HSVhsv(289, 70%, 64%)
CMYKcmyk(12.3%, 70.4%, 0%, 36.5%)
CIE-LABlab(38.68, 55.29, -43.00)
CIE-LCHlch(38.68, 70.04, 322.12°)
OKLaboklab(49.55% 0.1437 -0.1204)
OKLCHoklch(49.55% 0.187 320)
XYZxyz(18.7331, 10.4743, 35.2104)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30A2 #44A230
analogous
#5530A2 #8E30A2 #A2307D
triadic
#8E30A2 #A28E30 #30A28E
tetradic
#8E30A2 #A25530 #44A230 #307DA2
square
#8E30A2 #A25530 #44A230 #307DA2
split-complementary
#8E30A2 #7DA230 #30A255
monochromatic
#3B1444 #652273 #8E30A2 #B247C8 #C576D6

Accessibility & contrast

On white

6.79
#8E30A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8E30A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30A2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30A2#FFFFFF#000000##FFFFFF
##8E30A21.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#3A5E9F
Tritanopia (blue-blind)
#8F4566
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e30a2;
/* rgb */ color: rgb(142, 48, 162);
/* oklch */ color: oklch(49.6% 0.187 320.0);
Tailwind
colors: {
  custom: {
    50: '#b271be',
    500: '#8e30a2',
    950: '#000000',
  },
}
SCSS
$custom: #8e30a2;
$custom-light: #b271be;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30a2",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 289.474,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.18744,
    "h": 320
  },
  "luminance": 0.10473
}

Semantic roles & 50–950 ramp

primary
#8E30A2
secondary
#7DBE6F
accent
#DE4A64
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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