#9D30C4#9D30C4

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

Color values

HEX#9D30C4
RGBrgb(157, 48, 196)
HSLhsl(284, 61%, 48%)
HSVhsv(284, 76%, 77%)
CMYKcmyk(19.9%, 75.5%, 0%, 23.1%)
CIE-LABlab(43.17, 65.01, -55.77)
CIE-LCHlch(43.17, 85.66, 319.37°)
OKLaboklab(53.9% 0.1587 -0.1573)
OKLCHoklch(53.9% 0.223 315.3)
XYZxyz(24.9238, 13.2685, 53.4620)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30C4 #57C430
analogous
#5330C4 #9D30C4 #C430A1
triadic
#9D30C4 #C49D30 #30C49D
tetradic
#9D30C4 #C45330 #57C430 #30A1C4
square
#9D30C4 #C45330 #57C430 #30A1C4
split-complementary
#9D30C4 #A1C430 #30C453
monochromatic
#4E1862 #762493 #9D30C4 #B65AD7 #CC8CE3

Accessibility & contrast

On white

5.75
#9D30C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9D30C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30C4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30C4#FFFFFF#000000##FFFFFF
##9D30C41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#2A69C1
Tritanopia (blue-blind)
#9A5179
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d30c4;
/* rgb */ color: rgb(157, 48, 196);
/* oklch */ color: oklch(53.9% 0.223 315.3);
Tailwind
colors: {
  custom: {
    50: '#be74d7',
    500: '#9d30c4',
    950: '#000000',
  },
}
SCSS
$custom: #9d30c4;
$custom-light: #be74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30c4",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 284.189,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.22346,
    "h": 315.3
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#9D30C4
secondary
#96CD83
accent
#E4446E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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