#9C30A2#9C30A2

#9C30A2 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.194 H 325.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9C30A2
RGBrgb(156, 48, 162)
HSLhsl(297, 54%, 41%)
HSVhsv(297, 70%, 64%)
CMYKcmyk(3.7%, 70.4%, 0%, 36.5%)
CIE-LABlab(40.88, 58.46, -39.36)
CIE-LCHlch(40.88, 70.48, 326.05°)
OKLaboklab(51.57% 0.1602 -0.1093)
OKLCHoklch(51.57% 0.194 325.7)
XYZxyz(21.2884, 11.7918, 35.3302)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30A2 #36A230
analogous
#6330A2 #9C30A2 #A2306F
triadic
#9C30A2 #A29C30 #30A29C
tetradic
#9C30A2 #A26330 #36A230 #306FA2
square
#9C30A2 #A26330 #36A230 #306FA2
split-complementary
#9C30A2 #6FA230 #30A263
monochromatic
#411444 #6F2273 #9C30A2 #C247C8 #D176D6

Accessibility & contrast

On white

6.25
#9C30A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9C30A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30A2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30A2#FFFFFF#000000##FFFFFF
##9C30A21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#A04266
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c30a2;
/* rgb */ color: rgb(156, 48, 162);
/* oklch */ color: oklch(51.6% 0.194 325.7);
Tailwind
colors: {
  custom: {
    50: '#bd72be',
    500: '#9c30a2',
    950: '#000000',
  },
}
SCSS
$custom: #9c30a2;
$custom-light: #bd72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30a2",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 296.842,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51569,
    "c": 0.19393,
    "h": 325.7
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#9C30A2
secondary
#74BE6F
accent
#DE4A52
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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