#9B218E#9B218E

#9B218E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.194 H 333.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9B218E
RGBrgb(155, 33, 142)
HSLhsl(306, 65%, 37%)
HSVhsv(306, 79%, 61%)
CMYKcmyk(0%, 78.7%, 8.4%, 39.2%)
CIE-LABlab(37.86, 59.90, -32.04)
CIE-LCHlch(37.86, 67.93, 331.86°)
OKLaboklab(49.01% 0.173 -0.088)
OKLCHoklch(49.01% 0.194 333)
XYZxyz(18.9440, 10.0109, 26.5205)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B218E #219B2E
analogous
#6B219B #9B218E #9B2151
triadic
#9B218E #8E9B21 #218E9B
tetradic
#9B218E #9B6B21 #219B2E #21519B
square
#9B218E #9B6B21 #219B2E #21519B
split-complementary
#9B218E #519B21 #219B6B
monochromatic
#360C32 #691660 #9B218E #CD2CBC #DC5ACE

Accessibility & contrast

On white

7.00
#9B218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9B218E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B218E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B218E#FFFFFF#000000##FFFFFF
##9B218E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#A22F57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b218e;
/* rgb */ color: rgb(155, 33, 142);
/* oklch */ color: oklch(49.0% 0.194 333.0);
Tailwind
colors: {
  custom: {
    50: '#bc6baf',
    500: '#9b218e',
    950: '#000000',
  },
}
SCSS
$custom: #9b218e;
$custom-light: #bc6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b218e",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 306.393,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.1941,
    "h": 333
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#9B218E
secondary
#58C063
accent
#E85240
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B218E

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

Preview Lab → · Contrast checker → · Palette generator →

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