#9B219C#9B219C

#9B219C is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.204 H 327.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9B219C
RGBrgb(155, 33, 156)
HSLhsl(300, 65%, 37%)
HSVhsv(300, 79%, 61%)
CMYKcmyk(0.6%, 78.8%, 0%, 38.8%)
CIE-LABlab(38.65, 62.13, -39.31)
CIE-LCHlch(38.65, 73.52, 327.68°)
OKLaboklab(49.83% 0.173 -0.1091)
OKLCHoklch(49.83% 0.204 327.8)
XYZxyz(20.0619, 10.4581, 32.4080)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B219C #229C21
analogous
#5E219C #9B219C #9C2160
triadic
#9B219C #9C9B21 #219C9B
tetradic
#9B219C #9C5E21 #229C21 #21609C
square
#9B219C #9C5E21 #229C21 #21609C
split-complementary
#9B219C #609C21 #219C5E
monochromatic
#370C37 #691669 #9B219C #CD2CCF #DB5BDC

Accessibility & contrast

On white

6.79
#9B219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9B219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B219C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B219C#FFFFFF#000000##FFFFFF
##9B219C1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#A0365E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b219c;
/* rgb */ color: rgb(155, 33, 156);
/* oklch */ color: oklch(49.8% 0.204 327.8);
Tailwind
colors: {
  custom: {
    50: '#bc6cba',
    500: '#9b219c',
    950: '#000000',
  },
}
SCSS
$custom: #9b219c;
$custom-light: #bc6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9b219c",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 299.512,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.20449,
    "h": 327.8
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#9B219C
secondary
#59C158
accent
#E84041
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B219C

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

Preview Lab → · Contrast checker → · Palette generator →

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