#8E30BD#8E30BD

#8E30BD is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.212 H 311.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8E30BD
RGBrgb(142, 48, 189)
HSLhsl(280, 59%, 46%)
HSVhsv(280, 75%, 74%)
CMYKcmyk(24.9%, 74.6%, 0%, 25.9%)
CIE-LABlab(40.47, 60.73, -56.14)
CIE-LCHlch(40.47, 82.71, 317.25°)
OKLaboklab(51.4% 0.1407 -0.1589)
OKLCHoklch(51.4% 0.212 311.5)
XYZxyz(21.3959, 11.5394, 49.2345)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30BD #5FBD30
analogous
#4830BD #8E30BD #BD30A6
triadic
#8E30BD #BD8E30 #30BD8E
tetradic
#8E30BD #BD4830 #5FBD30 #30A6BD
square
#8E30BD #BD4830 #5FBD30 #30A6BD
split-complementary
#8E30BD #A6BD30 #30BD48
monochromatic
#45175B #69248C #8E30BD #AA56D4 #C387E0

Accessibility & contrast

On white

6.35
#8E30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8E30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30BD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30BD#FFFFFF#000000##FFFFFF
##8E30BD1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#885175
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e30bd;
/* rgb */ color: rgb(142, 48, 189);
/* oklch */ color: oklch(51.4% 0.212 311.5);
Tailwind
colors: {
  custom: {
    50: '#b472d2',
    500: '#8e30bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e30bd;
$custom-light: #b472d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30bd",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 280,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51399,
    "c": 0.21225,
    "h": 311.5
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#8E30BD
secondary
#98CA7F
accent
#E3457A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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