#9E30C7#9E30C7

#9E30C7 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.226 H 314.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9E30C7
RGBrgb(158, 48, 199)
HSLhsl(284, 61%, 48%)
HSVhsv(284, 76%, 78%)
CMYKcmyk(20.6%, 75.9%, 0%, 22%)
CIE-LABlab(43.52, 65.79, -56.94)
CIE-LCHlch(43.52, 87.01, 319.12°)
OKLaboklab(54.25% 0.1595 -0.1607)
OKLCHoklch(54.25% 0.226 314.8)
XYZxyz(25.4646, 13.5075, 55.2876)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30C7 #59C730
analogous
#5330C7 #9E30C7 #C730A4
triadic
#9E30C7 #C79E30 #30C79E
tetradic
#9E30C7 #C75330 #59C730 #30A4C7
square
#9E30C7 #C75330 #59C730 #30A4C7
split-complementary
#9E30C7 #A4C730 #30C753
monochromatic
#501864 #772496 #9E30C7 #B65CD8 #CC8EE4

Accessibility & contrast

On white

5.67
#9E30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9E30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30C7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30C7#FFFFFF#000000##FFFFFF
##9E30C71.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#286AC4
Tritanopia (blue-blind)
#9A527A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e30c7;
/* rgb */ color: rgb(158, 48, 199);
/* oklch */ color: oklch(54.2% 0.226 314.8);
Tailwind
colors: {
  custom: {
    50: '#bf74d9',
    500: '#9e30c7',
    950: '#000000',
  },
}
SCSS
$custom: #9e30c7;
$custom-light: #bf74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30c7",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 283.709,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.22642,
    "h": 314.8
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#9E30C7
secondary
#99CE85
accent
#E4446F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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