#9C30CC#9C30CC

#9C30CC is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.230 H 312.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9C30CC
RGBrgb(156, 48, 204)
HSLhsl(282, 62%, 49%)
HSVhsv(282, 76%, 80%)
CMYKcmyk(23.5%, 76.5%, 0%, 20%)
CIE-LABlab(43.57, 66.41, -59.77)
CIE-LCHlch(43.57, 89.35, 318.01°)
OKLaboklab(54.33% 0.1562 -0.1691)
OKLCHoklch(54.33% 0.23 312.7)
XYZxyz(25.6644, 13.5422, 58.3770)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30CC #60CC30
analogous
#4E30CC #9C30CC #CC30AE
triadic
#9C30CC #CC9C30 #30CC9C
tetradic
#9C30CC #CC4E30 #60CC30 #30AECC
square
#9C30CC #CC4E30 #60CC30 #30AECC
split-complementary
#9C30CC #AECC30 #30CC4E
monochromatic
#501969 #76249A #9C30CC #B460DA #CB91E5

Accessibility & contrast

On white

5.66
#9C30CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9C30CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30CC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30CC#FFFFFF#000000##FFFFFF
##9C30CC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#1969C9
Tritanopia (blue-blind)
#96557D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c30cc;
/* rgb */ color: rgb(156, 48, 204);
/* oklch */ color: oklch(54.3% 0.230 312.7);
Tailwind
colors: {
  custom: {
    50: '#be74dc',
    500: '#9c30cc',
    950: '#000000',
  },
}
SCSS
$custom: #9c30cc;
$custom-light: #be74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30cc",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 204
  },
  "hsl": {
    "h": 281.538,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54334,
    "c": 0.23016,
    "h": 312.7
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#9C30CC
secondary
#9ED088
accent
#E54375
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C30CC

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

Preview Lab → · Contrast checker → · Palette generator →

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