#9D30C7#9D30C7

#9D30C7 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.226 H 314.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9D30C7
RGBrgb(157, 48, 199)
HSLhsl(283, 61%, 48%)
HSVhsv(283, 76%, 78%)
CMYKcmyk(21.1%, 75.9%, 0%, 22%)
CIE-LABlab(43.37, 65.60, -57.19)
CIE-LCHlch(43.37, 87.03, 318.92°)
OKLaboklab(54.11% 0.1583 -0.1615)
OKLCHoklch(54.11% 0.226 314.4)
XYZxyz(25.2686, 13.4064, 55.2784)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30C7 #5AC730
analogous
#5130C7 #9D30C7 #C730A5
triadic
#9D30C7 #C79D30 #30C79D
tetradic
#9D30C7 #C75130 #5AC730 #30A5C7
square
#9D30C7 #C75130 #5AC730 #30A5C7
split-complementary
#9D30C7 #A5C730 #30C751
monochromatic
#4F1864 #762496 #9D30C7 #B55CD8 #CC8EE4

Accessibility & contrast

On white

5.70
#9D30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9D30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30C7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30C7#FFFFFF#000000##FFFFFF
##9D30C71.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#2669C4
Tritanopia (blue-blind)
#99527A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d30c7;
/* rgb */ color: rgb(157, 48, 199);
/* oklch */ color: oklch(54.1% 0.226 314.4);
Tailwind
colors: {
  custom: {
    50: '#bf74d9',
    500: '#9d30c7',
    950: '#000000',
  },
}
SCSS
$custom: #9d30c7;
$custom-light: #bf74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30c7",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 283.311,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.22609,
    "h": 314.4
  },
  "luminance": 0.13406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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