#9C2A90#9C2A90

#9C2A90 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.187 H 332.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9C2A90
RGBrgb(156, 42, 144)
HSLhsl(306, 58%, 39%)
HSVhsv(306, 73%, 61%)
CMYKcmyk(0%, 73.1%, 7.7%, 38.8%)
CIE-LABlab(39.14, 57.60, -31.24)
CIE-LCHlch(39.14, 65.52, 331.53°)
OKLaboklab(50% 0.1658 -0.0858)
OKLCHoklch(50% 0.187 332.7)
XYZxyz(19.5724, 10.7391, 27.4222)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A90 #2A9C36
analogous
#6F2A9C #9C2A90 #9C2A57
triadic
#9C2A90 #909C2A #2A909C
tetradic
#9C2A90 #9C6F2A #2A9C36 #2A579C
square
#9C2A90 #9C6F2A #2A9C36 #2A579C
split-complementary
#9C2A90 #579C2A #2A9C6F
monochromatic
#3C1037 #6C1D63 #9C2A90 #CA39BB #D76ACB

Accessibility & contrast

On white

6.67
#9C2A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9C2A90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A90
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A90#FFFFFF#000000##FFFFFF
##9C2A901.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245293
Deuteranopia (green-blind)
#4F628D
Tritanopia (blue-blind)
#A3365A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2a90;
/* rgb */ color: rgb(156, 42, 144);
/* oklch */ color: oklch(50.0% 0.187 332.7);
Tailwind
colors: {
  custom: {
    50: '#bd6fb1',
    500: '#9c2a90',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a90;
$custom-light: #bd6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a90",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 306.316,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.18668,
    "h": 332.7
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#9C2A90
secondary
#65BD6E
accent
#E15747
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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