#9B299C#9B299C

#9B299C is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.197 H 327.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9B299C
RGBrgb(155, 41, 156)
HSLhsl(299, 58%, 39%)
HSVhsv(299, 74%, 61%)
CMYKcmyk(0.6%, 73.7%, 0%, 38.8%)
CIE-LABlab(39.51, 59.68, -37.95)
CIE-LCHlch(39.51, 70.72, 327.55°)
OKLaboklab(50.44% 0.166 -0.1052)
OKLCHoklch(50.44% 0.197 327.6)
XYZxyz(20.3110, 10.9562, 32.4910)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B299C #2A9C29
analogous
#61299C #9B299C #9C2963
triadic
#9B299C #9C9B29 #299C9B
tetradic
#9B299C #9C6129 #2A9C29 #29639C
square
#9B299C #9C6129 #2A9C29 #29639C
split-complementary
#9B299C #639C29 #299C61
monochromatic
#3B103B #6B1C6C #9B299C #C938CB #D668D7

Accessibility & contrast

On white

6.58
#9B299C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9B299C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B299C
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B299C#FFFFFF#000000##FFFFFF
##9B299C1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10549F
Deuteranopia (green-blind)
#476299
Tritanopia (blue-blind)
#A03B60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b299c;
/* rgb */ color: rgb(155, 41, 156);
/* oklch */ color: oklch(50.4% 0.197 327.6);
Tailwind
colors: {
  custom: {
    50: '#bc6fba',
    500: '#9b299c',
    950: '#000000',
  },
}
SCSS
$custom: #9b299c;
$custom-light: #bc6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9b299c",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 299.478,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.19655,
    "h": 327.6
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#9B299C
secondary
#64BE63
accent
#E24648
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B299C

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

Preview Lab → · Contrast checker → · Palette generator →

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