#9B299A#9B299A

#9B299A is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.195 H 328.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9B299A
RGBrgb(155, 41, 154)
HSLhsl(301, 58%, 38%)
HSVhsv(301, 74%, 61%)
CMYKcmyk(0%, 73.5%, 0.6%, 39.2%)
CIE-LABlab(39.39, 59.34, -36.92)
CIE-LCHlch(39.39, 69.89, 328.11°)
OKLaboklab(50.32% 0.166 -0.1022)
OKLCHoklch(50.32% 0.195 328.4)
XYZxyz(20.1430, 10.8890, 31.6064)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B299A #299B2A
analogous
#63299B #9B299A #9B2961
triadic
#9B299A #9A9B29 #299A9B
tetradic
#9B299A #9B6329 #299B2A #29619B
square
#9B299A #9B6329 #299B2A #29619B
split-complementary
#9B299A #619B29 #299B63
monochromatic
#3A0F3A #6B1C6A #9B299A #CA37C9 #D767D6

Accessibility & contrast

On white

6.61
#9B299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9B299A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B299A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B299A#FFFFFF#000000##FFFFFF
##9B299A1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14539D
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#A03A5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b299a;
/* rgb */ color: rgb(155, 41, 154);
/* oklch */ color: oklch(50.3% 0.195 328.4);
Tailwind
colors: {
  custom: {
    50: '#bc6fb8',
    500: '#9b299a',
    950: '#000000',
  },
}
SCSS
$custom: #9b299a;
$custom-light: #bc6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b299a",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 300.526,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.19497,
    "h": 328.4
  },
  "luminance": 0.10888
}

Semantic roles & 50–950 ramp

primary
#9B299A
secondary
#63BD63
accent
#E14846
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B299A

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

Preview Lab → · Contrast checker → · Palette generator →

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