#9C229B#9C229B

#9C229B is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.203 H 328.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9C229B
RGBrgb(156, 34, 155)
HSLhsl(300, 64%, 37%)
HSVhsv(300, 78%, 61%)
CMYKcmyk(0%, 78.2%, 0.6%, 38.8%)
CIE-LABlab(38.86, 61.89, -38.35)
CIE-LCHlch(38.86, 72.81, 328.21°)
OKLaboklab(50% 0.1733 -0.1063)
OKLCHoklch(50% 0.203 328.5)
XYZxyz(20.1985, 10.5801, 31.9823)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C229B #229C23
analogous
#60229C #9C229B #9C225E
triadic
#9C229B #9B9C22 #229B9C
tetradic
#9C229B #9C6022 #229C23 #225E9C
square
#9C229B #9C6022 #229C23 #225E9C
split-complementary
#9C229B #5E9C22 #229C60
monochromatic
#380C37 #6A1769 #9C229B #CE2DCD #DC5DDB

Accessibility & contrast

On white

6.74
#9C229B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9C229B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C229B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C229B#FFFFFF#000000##FFFFFF
##9C229B1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01519E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A1365E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c229b;
/* rgb */ color: rgb(156, 34, 155);
/* oklch */ color: oklch(50.0% 0.203 328.5);
Tailwind
colors: {
  custom: {
    50: '#bd6cb9',
    500: '#9c229b',
    950: '#000000',
  },
}
SCSS
$custom: #9c229b;
$custom-light: #bd6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c229b",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 300.492,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.20328,
    "h": 328.5
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#9C229B
secondary
#5AC05A
accent
#E74241
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9C229B

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

Preview Lab → · Contrast checker → · Palette generator →

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