#9B219F#9B219F

#9B219F is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.207 H 326.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9B219F
RGBrgb(155, 33, 159)
HSLhsl(298, 66%, 38%)
HSVhsv(298, 79%, 62%)
CMYKcmyk(2.5%, 79.2%, 0%, 37.6%)
CIE-LABlab(38.83, 62.63, -40.83)
CIE-LCHlch(38.83, 74.76, 326.90°)
OKLaboklab(50.02% 0.1728 -0.1135)
OKLCHoklch(50.02% 0.207 326.7)
XYZxyz(20.3191, 10.5609, 33.7624)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B219F #259F21
analogous
#5C219F #9B219F #9F2164
triadic
#9B219F #9F9B21 #219F9B
tetradic
#9B219F #9F5C21 #259F21 #21649F
square
#9B219F #9F5C21 #259F21 #21649F
split-complementary
#9B219F #649F21 #219F5C
monochromatic
#380C3A #6A166C #9B219F #CC2CD2 #D95DDD

Accessibility & contrast

On white

6.75
#9B219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9B219F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B219F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B219F#FFFFFF#000000##FFFFFF
##9B219F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#42619C
Tritanopia (blue-blind)
#9F3860
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b219f;
/* rgb */ color: rgb(155, 33, 159);
/* oklch */ color: oklch(50.0% 0.207 326.7);
Tailwind
colors: {
  custom: {
    50: '#bc6cbc',
    500: '#9b219f',
    950: '#000000',
  },
}
SCSS
$custom: #9b219f;
$custom-light: #bc6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b219f",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 298.095,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.20678,
    "h": 326.7
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#9B219F
secondary
#5DC25A
accent
#E93F45
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9B219F

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

Preview Lab → · Contrast checker → · Palette generator →

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