#9A229C#9A229C

#9A229C is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.203 H 327.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9A229C
RGBrgb(154, 34, 156)
HSLhsl(299, 64%, 37%)
HSVhsv(299, 78%, 61%)
CMYKcmyk(1.3%, 78.2%, 0%, 38.8%)
CIE-LABlab(38.58, 61.64, -39.43)
CIE-LCHlch(38.58, 73.18, 327.39°)
OKLaboklab(49.75% 0.1711 -0.1095)
OKLCHoklch(49.75% 0.203 327.4)
XYZxyz(19.8989, 10.4158, 32.4084)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A229C #249C22
analogous
#5D229C #9A229C #9C2261
triadic
#9A229C #9C9A22 #229C9A
tetradic
#9A229C #9C5D22 #249C22 #22619C
square
#9A229C #9C5D22 #249C22 #22619C
split-complementary
#9A229C #619C22 #229C5D
monochromatic
#370C38 #68176A #9A229C #CC2DCE #DA5DDC

Accessibility & contrast

On white

6.81
#9A229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9A229C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A229C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A229C#FFFFFF#000000##FFFFFF
##9A229C1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#9F375F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a229c;
/* rgb */ color: rgb(154, 34, 156);
/* oklch */ color: oklch(49.7% 0.203 327.4);
Tailwind
colors: {
  custom: {
    50: '#bc6cba',
    500: '#9a229c',
    950: '#000000',
  },
}
SCSS
$custom: #9a229c;
$custom-light: #bc6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a229c",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 299.016,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49746,
    "c": 0.20312,
    "h": 327.4
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#9A229C
secondary
#5BC05A
accent
#E74143
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A229C

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

Preview Lab → · Contrast checker → · Palette generator →

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