#8E30B5#8E30B5

#8E30B5 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.205 H 313.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8E30B5
RGBrgb(142, 48, 181)
HSLhsl(282, 58%, 45%)
HSVhsv(282, 73%, 71%)
CMYKcmyk(21.5%, 73.5%, 0%, 29%)
CIE-LABlab(39.92, 59.08, -52.33)
CIE-LCHlch(39.92, 78.92, 318.47°)
OKLaboklab(50.83% 0.1419 -0.1477)
OKLCHoklch(50.83% 0.205 313.9)
XYZxyz(20.5513, 11.2016, 44.7866)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30B5 #57B530
analogous
#4B30B5 #8E30B5 #B5309A
triadic
#8E30B5 #B58E30 #30B58E
tetradic
#8E30B5 #B54B30 #57B530 #309AB5
square
#8E30B5 #B54B30 #57B530 #309AB5
split-complementary
#8E30B5 #9AB530 #30B54B
monochromatic
#421654 #682385 #8E30B5 #AB51D1 #C382DE

Accessibility & contrast

On white

6.48
#8E30B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8E30B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30B5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30B5#FFFFFF#000000##FFFFFF
##8E30B51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#2660B2
Tritanopia (blue-blind)
#8A4D70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e30b5;
/* rgb */ color: rgb(142, 48, 181);
/* oklch */ color: oklch(50.8% 0.205 313.9);
Tailwind
colors: {
  custom: {
    50: '#b372cc',
    500: '#8e30b5',
    950: '#000000',
  },
}
SCSS
$custom: #8e30b5;
$custom-light: #b372cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30b5",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 282.406,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50829,
    "c": 0.20483,
    "h": 313.9
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#8E30B5
secondary
#90C77A
accent
#E14674
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8E30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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