#8E30B2#8E30B2

#8E30B2 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.6% C 0.202 H 314.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8E30B2
RGBrgb(142, 48, 178)
HSLhsl(283, 58%, 44%)
HSVhsv(283, 73%, 70%)
CMYKcmyk(20.2%, 73%, 0%, 30.2%)
CIE-LABlab(39.71, 58.46, -50.88)
CIE-LCHlch(39.71, 77.51, 318.97°)
OKLaboklab(50.62% 0.1423 -0.1435)
OKLCHoklch(50.62% 0.202 314.8)
XYZxyz(20.2468, 11.0798, 43.1829)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30B2 #54B230
analogous
#4D30B2 #8E30B2 #B23095
triadic
#8E30B2 #B28E30 #30B28E
tetradic
#8E30B2 #B24D30 #54B230 #3095B2
square
#8E30B2 #B24D30 #54B230 #3095B2
split-complementary
#8E30B2 #95B230 #30B24D
monochromatic
#411652 #682382 #8E30B2 #AC50D0 #C380DD

Accessibility & contrast

On white

6.53
#8E30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8E30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30B2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30B2#FFFFFF#000000##FFFFFF
##8E30B21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#2A60AF
Tritanopia (blue-blind)
#8B4C6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e30b2;
/* rgb */ color: rgb(142, 48, 178);
/* oklch */ color: oklch(50.6% 0.202 314.8);
Tailwind
colors: {
  custom: {
    50: '#b371ca',
    500: '#8e30b2',
    950: '#000000',
  },
}
SCSS
$custom: #8e30b2;
$custom-light: #b371ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30b2",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 283.385,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5062,
    "c": 0.20206,
    "h": 314.8
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#8E30B2
secondary
#8EC678
accent
#E14772
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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