#9A299B#9A299B

#9A299B is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.195 H 327.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9A299B
RGBrgb(154, 41, 155)
HSLhsl(299, 58%, 38%)
HSVhsv(299, 74%, 61%)
CMYKcmyk(0.6%, 73.5%, 0%, 39.2%)
CIE-LABlab(39.28, 59.29, -37.71)
CIE-LCHlch(39.28, 70.26, 327.54°)
OKLaboklab(50.23% 0.1649 -0.1045)
OKLCHoklch(50.23% 0.195 327.6)
XYZxyz(20.0355, 10.8239, 32.0379)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A299B #2A9B29
analogous
#61299B #9A299B #9B2963
triadic
#9A299B #9B9A29 #299B9A
tetradic
#9A299B #9B6129 #2A9B29 #29639B
square
#9A299B #9B6129 #2A9B29 #29639B
split-complementary
#9A299B #639B29 #299B61
monochromatic
#3A0F3A #6A1C6B #9A299B #C937CA #D667D7

Accessibility & contrast

On white

6.64
#9A299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9A299B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A299B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A299B#FFFFFF#000000##FFFFFF
##9A299B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539E
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#9F3B60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a299b;
/* rgb */ color: rgb(154, 41, 155);
/* oklch */ color: oklch(50.2% 0.195 327.6);
Tailwind
colors: {
  custom: {
    50: '#bb6fb9',
    500: '#9a299b',
    950: '#000000',
  },
}
SCSS
$custom: #9a299b;
$custom-light: #bb6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a299b",
  "rgb": {
    "r": 154,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 299.474,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.19527,
    "h": 327.6
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#9A299B
secondary
#63BD63
accent
#E14648
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A299B

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

Preview Lab → · Contrast checker → · Palette generator →

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