#9C229A#9C229A

#9C229A is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.203 H 328.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9C229A
RGBrgb(156, 34, 154)
HSLhsl(301, 64%, 37%)
HSVhsv(301, 78%, 61%)
CMYKcmyk(0%, 78.2%, 1.3%, 38.8%)
CIE-LABlab(38.81, 61.73, -37.84)
CIE-LCHlch(38.81, 72.41, 328.49°)
OKLaboklab(49.94% 0.1733 -0.1048)
OKLCHoklch(49.94% 0.203 328.8)
XYZxyz(20.1149, 10.5466, 31.5419)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C229A #229C24
analogous
#61229C #9C229A #9C225D
triadic
#9C229A #9A9C22 #229A9C
tetradic
#9C229A #9C6122 #229C24 #225D9C
square
#9C229A #9C6122 #229C24 #225D9C
split-complementary
#9C229A #5D9C22 #229C61
monochromatic
#380C37 #6A1768 #9C229A #CE2DCC #DC5DDA

Accessibility & contrast

On white

6.75
#9C229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9C229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C229A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C229A#FFFFFF#000000##FFFFFF
##9C229A1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04519D
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#A1365E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c229a;
/* rgb */ color: rgb(156, 34, 154);
/* oklch */ color: oklch(49.9% 0.203 328.8);
Tailwind
colors: {
  custom: {
    50: '#bd6cb8',
    500: '#9c229a',
    950: '#000000',
  },
}
SCSS
$custom: #9c229a;
$custom-light: #bd6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c229a",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 300.984,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.20252,
    "h": 328.8
  },
  "luminance": 0.10545
}

Semantic roles & 50–950 ramp

primary
#9C229A
secondary
#5AC05B
accent
#E74341
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9C229A

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

Preview Lab → · Contrast checker → · Palette generator →

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