#9D30C6#9D30C6

#9D30C6 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.225 H 314.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9D30C6
RGBrgb(157, 48, 198)
HSLhsl(284, 61%, 48%)
HSVhsv(284, 76%, 78%)
CMYKcmyk(20.7%, 75.8%, 0%, 22.4%)
CIE-LABlab(43.30, 65.40, -56.72)
CIE-LCHlch(43.30, 86.57, 319.07°)
OKLaboklab(54.04% 0.1584 -0.1601)
OKLCHoklch(54.04% 0.225 314.7)
XYZxyz(25.1529, 13.3601, 54.6689)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30C6 #59C630
analogous
#5230C6 #9D30C6 #C630A4
triadic
#9D30C6 #C69D30 #30C69D
tetradic
#9D30C6 #C65230 #59C630 #30A4C6
square
#9D30C6 #C65230 #59C630 #30A4C6
split-complementary
#9D30C6 #A4C630 #30C652
monochromatic
#4F1863 #762495 #9D30C6 #B65CD7 #CC8DE3

Accessibility & contrast

On white

5.72
#9D30C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9D30C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30C6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30C6#FFFFFF#000000##FFFFFF
##9D30C61.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#2769C3
Tritanopia (blue-blind)
#99527A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d30c6;
/* rgb */ color: rgb(157, 48, 198);
/* oklch */ color: oklch(54.0% 0.225 314.7);
Tailwind
colors: {
  custom: {
    50: '#be74d8',
    500: '#9d30c6',
    950: '#000000',
  },
}
SCSS
$custom: #9d30c6;
$custom-light: #be74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30c6",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 198
  },
  "hsl": {
    "h": 283.6,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.22521,
    "h": 314.7
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#9D30C6
secondary
#98CE84
accent
#E44470
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130915
muted
#827B83

Preview Lab

Preview with #9D30C6

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

Preview Lab → · Contrast checker → · Palette generator →

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