#9E30C2#9E30C2

#9E30C2 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.222 H 316.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9E30C2
RGBrgb(158, 48, 194)
HSLhsl(285, 60%, 47%)
HSVhsv(285, 75%, 76%)
CMYKcmyk(18.6%, 75.3%, 0%, 23.9%)
CIE-LABlab(43.18, 64.81, -54.58)
CIE-LCHlch(43.18, 84.73, 319.90°)
OKLaboklab(53.9% 0.1602 -0.1538)
OKLCHoklch(53.9% 0.222 316.2)
XYZxyz(24.8936, 13.2790, 52.2803)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30C2 #54C230
analogous
#5530C2 #9E30C2 #C2309D
triadic
#9E30C2 #C29E30 #30C29E
tetradic
#9E30C2 #C25530 #54C230 #309DC2
square
#9E30C2 #C25530 #54C230 #309DC2
split-complementary
#9E30C2 #9DC230 #30C255
monochromatic
#4E1860 #762491 #9E30C2 #B759D6 #CC8AE2

Accessibility & contrast

On white

5.74
#9E30C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9E30C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30C2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30C2#FFFFFF#000000##FFFFFF
##9E30C21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#9C5077
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e30c2;
/* rgb */ color: rgb(158, 48, 194);
/* oklch */ color: oklch(53.9% 0.222 316.2);
Tailwind
colors: {
  custom: {
    50: '#bf74d5',
    500: '#9e30c2',
    950: '#000000',
  },
}
SCSS
$custom: #9e30c2;
$custom-light: #bf74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30c2",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 285.205,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.22207,
    "h": 316.2
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#9E30C2
secondary
#94CC82
accent
#E3446C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E30C2

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

Preview Lab → · Contrast checker → · Palette generator →

#9E30C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva