#9B299B#9B299B

#9B299B is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.196 H 328.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9B299B
RGBrgb(155, 41, 155)
HSLhsl(300, 58%, 38%)
HSVhsv(300, 74%, 61%)
CMYKcmyk(0%, 73.5%, 0%, 39.2%)
CIE-LABlab(39.45, 59.51, -37.43)
CIE-LCHlch(39.45, 70.30, 327.83°)
OKLaboklab(50.38% 0.166 -0.1037)
OKLCHoklch(50.38% 0.196 328)
XYZxyz(20.2266, 10.9225, 32.0469)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B299B #299B29
analogous
#62299B #9B299B #9B2962
triadic
#9B299B #9B9B29 #299B9B
tetradic
#9B299B #9B6229 #299B29 #29629B
square
#9B299B #9B6229 #299B29 #29629B
split-complementary
#9B299B #629B29 #299B62
monochromatic
#3A0F3A #6B1C6B #9B299B #CA37CA #D767D7

Accessibility & contrast

On white

6.60
#9B299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B299B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B299B#FFFFFF#000000##FFFFFF
##9B299B1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539E
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#A03B60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b299b;
/* rgb */ color: rgb(155, 41, 155);
/* oklch */ color: oklch(50.4% 0.196 328.0);
Tailwind
colors: {
  custom: {
    50: '#bc6fb9',
    500: '#9b299b',
    950: '#000000',
  },
}
SCSS
$custom: #9b299b;
$custom-light: #bc6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b299b",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 300,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50381,
    "c": 0.19576,
    "h": 328
  },
  "luminance": 0.10921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B299B

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

Preview Lab → · Contrast checker → · Palette generator →

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