#9B2295#9B2295

#9B2295 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.198 H 330.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9B2295
RGBrgb(155, 34, 149)
HSLhsl(303, 64%, 37%)
HSVhsv(303, 78%, 61%)
CMYKcmyk(0%, 78.1%, 3.9%, 39.2%)
CIE-LABlab(38.35, 60.71, -35.54)
CIE-LCHlch(38.35, 70.35, 329.65°)
OKLaboklab(49.48% 0.1723 -0.0982)
OKLCHoklch(49.48% 0.198 330.3)
XYZxyz(19.5143, 10.2841, 29.3852)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2295 #229B28
analogous
#65229B #9B2295 #9B2259
triadic
#9B2295 #959B22 #22959B
tetradic
#9B2295 #9B6522 #229B28 #22599B
square
#9B2295 #9B6522 #229B28 #22599B
split-complementary
#9B2295 #599B22 #229B65
monochromatic
#370C35 #691765 #9B2295 #CD2DC5 #DB5CD5

Accessibility & contrast

On white

6.87
#9B2295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B2295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2295
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2295#FFFFFF#000000##FFFFFF
##9B22951.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105098
Deuteranopia (green-blind)
#486092
Tritanopia (blue-blind)
#A1335B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2295;
/* rgb */ color: rgb(155, 34, 149);
/* oklch */ color: oklch(49.5% 0.198 330.3);
Tailwind
colors: {
  custom: {
    50: '#bc6cb4',
    500: '#9b2295',
    950: '#000000',
  },
}
SCSS
$custom: #9b2295;
$custom-light: #bc6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2295",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 302.975,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.19829,
    "h": 330.3
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#9B2295
secondary
#59C05E
accent
#E74941
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2295

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

Preview Lab → · Contrast checker → · Palette generator →

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