#8E30B7#8E30B7

#8E30B7 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.207 H 313.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8E30B7
RGBrgb(142, 48, 183)
HSLhsl(282, 58%, 45%)
HSVhsv(282, 74%, 72%)
CMYKcmyk(22.4%, 73.8%, 0%, 28.2%)
CIE-LABlab(40.06, 59.49, -53.29)
CIE-LCHlch(40.06, 79.87, 318.15°)
OKLaboklab(50.97% 0.1416 -0.1505)
OKLCHoklch(50.97% 0.207 313.3)
XYZxyz(20.7580, 11.2842, 45.8752)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30B7 #59B730
analogous
#4A30B7 #8E30B7 #B7309C
triadic
#8E30B7 #B78E30 #30B78E
tetradic
#8E30B7 #B74A30 #59B730 #309CB7
square
#8E30B7 #B74A30 #59B730 #309CB7
split-complementary
#8E30B7 #9CB730 #30B74A
monochromatic
#431756 #682387 #8E30B7 #AB52D2 #C383DE

Accessibility & contrast

On white

6.45
#8E30B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8E30B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30B7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30B7#FFFFFF#000000##FFFFFF
##8E30B71.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2360B4
Tritanopia (blue-blind)
#8A4E71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e30b7;
/* rgb */ color: rgb(142, 48, 183);
/* oklch */ color: oklch(51.0% 0.207 313.3);
Tailwind
colors: {
  custom: {
    50: '#b372cd',
    500: '#8e30b7',
    950: '#000000',
  },
}
SCSS
$custom: #8e30b7;
$custom-light: #b372cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30b7",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 281.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.20668,
    "h": 313.3
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#8E30B7
secondary
#92C87B
accent
#E24675
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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