#9C30D0#9C30D0

#9C30D0 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.6% C 0.234 H 311.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9C30D0
RGBrgb(156, 48, 208)
HSLhsl(281, 63%, 50%)
HSVhsv(281, 77%, 82%)
CMYKcmyk(25%, 76.9%, 0%, 18.4%)
CIE-LABlab(43.85, 67.21, -61.62)
CIE-LCHlch(43.85, 91.19, 317.48°)
OKLaboklab(54.62% 0.1554 -0.1745)
OKLCHoklch(54.62% 0.234 311.7)
XYZxyz(26.1503, 13.7366, 60.9362)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30D0 #64D030
analogous
#4C30D0 #9C30D0 #D030B4
triadic
#9C30D0 #D09C30 #30D09C
tetradic
#9C30D0 #D04C30 #64D030 #30B4D0
square
#9C30D0 #D04C30 #64D030 #30B4D0
split-complementary
#9C30D0 #B4D030 #30D04C
monochromatic
#52196D #77249F #9C30D0 #B462DB #CC94E7

Accessibility & contrast

On white

5.60
#9C30D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9C30D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30D0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30D0#FFFFFF#000000##FFFFFF
##9C30D01.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0C6ACD
Tritanopia (blue-blind)
#95577F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c30d0;
/* rgb */ color: rgb(156, 48, 208);
/* oklch */ color: oklch(54.6% 0.234 311.7);
Tailwind
colors: {
  custom: {
    50: '#be74df',
    500: '#9c30d0',
    950: '#000000',
  },
}
SCSS
$custom: #9c30d0;
$custom-light: #be74df;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30d0",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 208
  },
  "hsl": {
    "h": 280.5,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54622,
    "c": 0.2337,
    "h": 311.7
  },
  "luminance": 0.13736
}

Semantic roles & 50–950 ramp

primary
#9C30D0
secondary
#A1D28A
accent
#E64277
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C30D0

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

Preview Lab → · Contrast checker → · Palette generator →

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