#9D30C3#9D30C3

#9D30C3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.223 H 315.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9D30C3
RGBrgb(157, 48, 195)
HSLhsl(284, 60%, 48%)
HSVhsv(284, 75%, 76%)
CMYKcmyk(19.5%, 75.4%, 0%, 23.5%)
CIE-LABlab(43.10, 64.82, -55.30)
CIE-LCHlch(43.10, 85.20, 319.53°)
OKLaboklab(53.84% 0.1589 -0.1559)
OKLCHoklch(53.84% 0.223 315.5)
XYZxyz(24.8103, 13.2231, 52.8646)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30C3 #56C330
analogous
#5430C3 #9D30C3 #C3309F
triadic
#9D30C3 #C39D30 #30C39D
tetradic
#9D30C3 #C35430 #56C330 #309FC3
square
#9D30C3 #C35430 #56C330 #309FC3
split-complementary
#9D30C3 #9FC330 #30C354
monochromatic
#4E1861 #752492 #9D30C3 #B65AD6 #CC8BE2

Accessibility & contrast

On white

5.76
#9D30C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9D30C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30C3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30C3#FFFFFF#000000##FFFFFF
##9D30C31.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#2C69C0
Tritanopia (blue-blind)
#9A5178
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d30c3;
/* rgb */ color: rgb(157, 48, 195);
/* oklch */ color: oklch(53.8% 0.223 315.5);
Tailwind
colors: {
  custom: {
    50: '#be74d6',
    500: '#9d30c3',
    950: '#000000',
  },
}
SCSS
$custom: #9d30c3;
$custom-light: #be74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30c3",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 284.49,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.22259,
    "h": 315.5
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#9D30C3
secondary
#95CC82
accent
#E4446D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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