#9E30D0#9E30D0

#9E30D0 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.9% C 0.234 H 312.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9E30D0
RGBrgb(158, 48, 208)
HSLhsl(281, 63%, 50%)
HSVhsv(281, 77%, 82%)
CMYKcmyk(24%, 76.9%, 0%, 18.4%)
CIE-LABlab(44.14, 67.57, -61.14)
CIE-LCHlch(44.14, 91.12, 317.86°)
OKLaboklab(54.89% 0.158 -0.173)
OKLCHoklch(54.89% 0.234 312.4)
XYZxyz(26.5406, 13.9378, 60.9545)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30D0 #62D030
analogous
#4E30D0 #9E30D0 #D030B2
triadic
#9E30D0 #D09E30 #30D09E
tetradic
#9E30D0 #D04E30 #62D030 #30B2D0
square
#9E30D0 #D04E30 #62D030 #30B2D0
split-complementary
#9E30D0 #B2D030 #30D04E
monochromatic
#53196D #78249F #9E30D0 #B562DB #CD94E7

Accessibility & contrast

On white

5.54
#9E30D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9E30D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30D0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30D0#FFFFFF#000000##FFFFFF
##9E30D01.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#146ACD
Tritanopia (blue-blind)
#98567F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e30d0;
/* rgb */ color: rgb(158, 48, 208);
/* oklch */ color: oklch(54.9% 0.234 312.4);
Tailwind
colors: {
  custom: {
    50: '#c075df',
    500: '#9e30d0',
    950: '#000000',
  },
}
SCSS
$custom: #9e30d0;
$custom-light: #c075df;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30d0",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 208
  },
  "hsl": {
    "h": 281.25,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.2343,
    "h": 312.4
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#9E30D0
secondary
#A0D28A
accent
#E64275
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E30D0

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

Preview Lab → · Contrast checker → · Palette generator →

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