#9B2299#9B2299

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

Color values

HEX#9B2299
RGBrgb(155, 34, 153)
HSLhsl(301, 64%, 37%)
HSVhsv(301, 78%, 61%)
CMYKcmyk(0%, 78.1%, 1.3%, 39.2%)
CIE-LABlab(38.58, 61.36, -37.61)
CIE-LCHlch(38.58, 71.97, 328.49°)
OKLaboklab(49.72% 0.1722 -0.1042)
OKLCHoklch(49.72% 0.201 328.8)
XYZxyz(19.8392, 10.4140, 31.0960)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2299 #229B24
analogous
#61229B #9B2299 #9B225C
triadic
#9B2299 #999B22 #22999B
tetradic
#9B2299 #9B6122 #229B24 #225C9B
square
#9B2299 #9B6122 #229B24 #225C9B
split-complementary
#9B2299 #5C9B22 #229B61
monochromatic
#370C36 #691767 #9B2299 #CD2DCB #DB5CD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2299#FFFFFF#000000##FFFFFF
##9B22991.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)
#05519C
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#A0355D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2299;
/* rgb */ color: rgb(155, 34, 153);
/* oklch */ color: oklch(49.7% 0.201 328.8);
Tailwind
colors: {
  custom: {
    50: '#bc6cb7',
    500: '#9b2299',
    950: '#000000',
  },
}
SCSS
$custom: #9b2299;
$custom-light: #bc6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2299",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 300.992,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4972,
    "c": 0.2013,
    "h": 328.8
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#9B2299
secondary
#59C05B
accent
#E74441
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2299

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

Preview Lab → · Contrast checker → · Palette generator →

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