#9E30CF#9E30CF

#9E30CF is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.233 H 312.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9E30CF
RGBrgb(158, 48, 207)
HSLhsl(282, 62%, 50%)
HSVhsv(282, 77%, 81%)
CMYKcmyk(23.7%, 76.8%, 0%, 18.8%)
CIE-LABlab(44.07, 67.37, -60.67)
CIE-LCHlch(44.07, 90.66, 317.99°)
OKLaboklab(54.81% 0.1582 -0.1717)
OKLCHoklch(54.81% 0.233 312.7)
XYZxyz(26.4179, 13.8888, 60.3086)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30CF #61CF30
analogous
#4E30CF #9E30CF #CF30B1
triadic
#9E30CF #CF9E30 #30CF9E
tetradic
#9E30CF #CF4E30 #61CF30 #30B1CF
square
#9E30CF #CF4E30 #61CF30 #30B1CF
split-complementary
#9E30CF #B1CF30 #30CF4E
monochromatic
#52196C #78249D #9E30CF #B562DB #CD93E6

Accessibility & contrast

On white

5.56
#9E30CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9E30CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30CF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30CF#FFFFFF#000000##FFFFFF
##9E30CF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#176ACC
Tritanopia (blue-blind)
#98567F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e30cf;
/* rgb */ color: rgb(158, 48, 207);
/* oklch */ color: oklch(54.8% 0.233 312.7);
Tailwind
colors: {
  custom: {
    50: '#c075df',
    500: '#9e30cf',
    950: '#000000',
  },
}
SCSS
$custom: #9e30cf;
$custom-light: #c075df;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30cf",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 281.509,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.54814,
    "c": 0.23342,
    "h": 312.7
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#9E30CF
secondary
#A0D18A
accent
#E54275
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E30CF

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

Preview Lab → · Contrast checker → · Palette generator →

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