#9C229F#9C229F

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

Color values

HEX#9C229F
RGBrgb(156, 34, 159)
HSLhsl(299, 65%, 38%)
HSVhsv(299, 79%, 62%)
CMYKcmyk(1.9%, 78.6%, 0%, 37.6%)
CIE-LABlab(39.10, 62.55, -40.40)
CIE-LCHlch(39.10, 74.46, 327.15°)
OKLaboklab(50.24% 0.1731 -0.1123)
OKLCHoklch(50.24% 0.206 327)
XYZxyz(20.5400, 10.7167, 33.7809)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C229F #259F22
analogous
#5D229F #9C229F #9F2263
triadic
#9C229F #9F9C22 #229F9C
tetradic
#9C229F #9F5D22 #259F22 #22639F
square
#9C229F #9F5D22 #259F22 #22639F
split-complementary
#9C229F #639F22 #229F5D
monochromatic
#390C3A #6B176D #9C229F #CD2DD1 #DA5FDD

Accessibility & contrast

On white

6.68
#9C229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C229F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C229F#FFFFFF#000000##FFFFFF
##9C229F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#A13860
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c229f;
/* rgb */ color: rgb(156, 34, 159);
/* oklch */ color: oklch(50.2% 0.206 327.0);
Tailwind
colors: {
  custom: {
    50: '#bd6dbc',
    500: '#9c229f',
    950: '#000000',
  },
}
SCSS
$custom: #9c229f;
$custom-light: #bd6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c229f",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 298.56,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50238,
    "c": 0.20632,
    "h": 327
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#9C229F
secondary
#5EC15B
accent
#E84044
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C229F

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

Preview Lab → · Contrast checker → · Palette generator →

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