#9C229C#9C229C

#9C229C is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.204 H 328.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9C229C
RGBrgb(156, 34, 156)
HSLhsl(300, 64%, 37%)
HSVhsv(300, 78%, 61%)
CMYKcmyk(0%, 78.2%, 0%, 38.8%)
CIE-LABlab(38.92, 62.06, -38.87)
CIE-LCHlch(38.92, 73.22, 327.94°)
OKLaboklab(50.06% 0.1732 -0.1078)
OKLCHoklch(50.06% 0.204 328.1)
XYZxyz(20.2828, 10.6138, 32.4264)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C229C #229C22
analogous
#5F229C #9C229C #9C225F
triadic
#9C229C #9C9C22 #229C9C
tetradic
#9C229C #9C5F22 #229C22 #225F9C
square
#9C229C #9C5F22 #229C22 #225F9C
split-complementary
#9C229C #5F9C22 #229C5F
monochromatic
#380C38 #6A176A #9C229C #CE2DCE #DC5DDC

Accessibility & contrast

On white

6.73
#9C229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C229C
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C229C#FFFFFF#000000##FFFFFF
##9C229C1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#A1375F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c229c;
/* rgb */ color: rgb(156, 34, 156);
/* oklch */ color: oklch(50.1% 0.204 328.1);
Tailwind
colors: {
  custom: {
    50: '#bd6cba',
    500: '#9c229c',
    950: '#000000',
  },
}
SCSS
$custom: #9c229c;
$custom-light: #bd6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c229c",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 300,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.20403,
    "h": 328.1
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C229C

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

Preview Lab → · Contrast checker → · Palette generator →

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