#9C229E#9C229E

#9C229E is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.206 H 327.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9C229E
RGBrgb(156, 34, 158)
HSLhsl(299, 65%, 38%)
HSVhsv(299, 78%, 62%)
CMYKcmyk(1.3%, 78.5%, 0%, 38%)
CIE-LABlab(39.04, 62.39, -39.89)
CIE-LCHlch(39.04, 74.05, 327.41°)
OKLaboklab(50.18% 0.1732 -0.1108)
OKLCHoklch(50.18% 0.206 327.4)
XYZxyz(20.4536, 10.6821, 33.3257)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C229E #249E22
analogous
#5E229E #9C229E #9E2262
triadic
#9C229E #9E9C22 #229E9C
tetradic
#9C229E #9E5E22 #249E22 #22629E
square
#9C229E #9E5E22 #249E22 #22629E
split-complementary
#9C229E #629E22 #229E5E
monochromatic
#390C39 #6A176C #9C229E #CE2DD0 #DA5EDC

Accessibility & contrast

On white

6.70
#9C229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9C229E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C229E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C229E#FFFFFF#000000##FFFFFF
##9C229E1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#44619B
Tritanopia (blue-blind)
#A13860
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c229e;
/* rgb */ color: rgb(156, 34, 158);
/* oklch */ color: oklch(50.2% 0.206 327.4);
Tailwind
colors: {
  custom: {
    50: '#bd6dbb',
    500: '#9c229e',
    950: '#000000',
  },
}
SCSS
$custom: #9c229e;
$custom-light: #bd6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c229e",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 299.032,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.20556,
    "h": 327.4
  },
  "luminance": 0.10681
}

Semantic roles & 50–950 ramp

primary
#9C229E
secondary
#5CC15B
accent
#E84043
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C229E

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

Preview Lab → · Contrast checker → · Palette generator →

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