#9B219D#9B219D

#9B219D is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.205 H 327.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9B219D
RGBrgb(155, 33, 157)
HSLhsl(299, 65%, 37%)
HSVhsv(299, 79%, 62%)
CMYKcmyk(1.3%, 79%, 0%, 38.4%)
CIE-LABlab(38.71, 62.30, -39.82)
CIE-LCHlch(38.71, 73.93, 327.42°)
OKLaboklab(49.89% 0.1729 -0.1106)
OKLCHoklch(49.89% 0.205 327.4)
XYZxyz(20.1469, 10.4921, 32.8558)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B219D #239D21
analogous
#5D219D #9B219D #9D2161
triadic
#9B219D #9D9B21 #219D9B
tetradic
#9B219D #9D5D21 #239D21 #21619D
square
#9B219D #9D5D21 #239D21 #21619D
split-complementary
#9B219D #619D21 #219D5D
monochromatic
#370C38 #69166A #9B219D #CD2CD0 #DB5CDD

Accessibility & contrast

On white

6.78
#9B219D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9B219D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B219D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B219D#FFFFFF#000000##FFFFFF
##9B219D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#43609A
Tritanopia (blue-blind)
#A0375F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b219d;
/* rgb */ color: rgb(155, 33, 157);
/* oklch */ color: oklch(49.9% 0.205 327.4);
Tailwind
colors: {
  custom: {
    50: '#bc6cba',
    500: '#9b219d',
    950: '#000000',
  },
}
SCSS
$custom: #9b219d;
$custom-light: #bc6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9b219d",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 299.032,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49892,
    "c": 0.20525,
    "h": 327.4
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#9B219D
secondary
#5AC159
accent
#E84042
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9B219D

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

Preview Lab → · Contrast checker → · Palette generator →

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