#8E30BA#8E30BA

#8E30BA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.209 H 312.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8E30BA
RGBrgb(142, 48, 186)
HSLhsl(281, 59%, 46%)
HSVhsv(281, 74%, 73%)
CMYKcmyk(23.7%, 74.2%, 0%, 27.1%)
CIE-LABlab(40.26, 60.11, -54.72)
CIE-LCHlch(40.26, 81.28, 317.69°)
OKLaboklab(51.18% 0.1412 -0.1547)
OKLCHoklch(51.18% 0.209 312.4)
XYZxyz(21.0736, 11.4105, 47.5372)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30BA #5CBA30
analogous
#4930BA #8E30BA #BA30A1
triadic
#8E30BA #BA8E30 #30BA8E
tetradic
#8E30BA #BA4930 #5CBA30 #30A1BA
square
#8E30BA #BA4930 #5CBA30 #30A1BA
split-complementary
#8E30BA #A1BA30 #30BA49
monochromatic
#441759 #692389 #8E30BA #AB54D3 #C385DF

Accessibility & contrast

On white

6.40
#8E30BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8E30BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30BA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30BA#FFFFFF#000000##FFFFFF
##8E30BA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#1E61B7
Tritanopia (blue-blind)
#894F73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e30ba;
/* rgb */ color: rgb(142, 48, 186);
/* oklch */ color: oklch(51.2% 0.209 312.4);
Tailwind
colors: {
  custom: {
    50: '#b472cf',
    500: '#8e30ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e30ba;
$custom-light: #b472cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30ba",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 280.87,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.20947,
    "h": 312.4
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#8E30BA
secondary
#95C97D
accent
#E24678
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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