#9B218F#9B218F

#9B218F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.1% C 0.195 H 332.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9B218F
RGBrgb(155, 33, 143)
HSLhsl(306, 65%, 37%)
HSVhsv(306, 79%, 61%)
CMYKcmyk(0%, 78.7%, 7.7%, 39.2%)
CIE-LABlab(37.92, 60.06, -32.56)
CIE-LCHlch(37.92, 68.32, 331.53°)
OKLaboklab(49.07% 0.173 -0.0895)
OKLCHoklch(49.07% 0.195 332.6)
XYZxyz(19.0194, 10.0411, 26.9177)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B218F #219B2D
analogous
#6A219B #9B218F #9B2152
triadic
#9B218F #8F9B21 #218F9B
tetradic
#9B218F #9B6A21 #219B2D #21529B
square
#9B218F #9B6A21 #219B2D #21529B
split-complementary
#9B218F #529B21 #219B6A
monochromatic
#360C32 #691660 #9B218F #CD2CBE #DC5ACF

Accessibility & contrast

On white

6.98
#9B218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9B218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B218F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B218F#FFFFFF#000000##FFFFFF
##9B218F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E92
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#A23057
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b218f;
/* rgb */ color: rgb(155, 33, 143);
/* oklch */ color: oklch(49.1% 0.195 332.6);
Tailwind
colors: {
  custom: {
    50: '#bc6bb0',
    500: '#9b218f',
    950: '#000000',
  },
}
SCSS
$custom: #9b218f;
$custom-light: #bc6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b218f",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 305.902,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49068,
    "c": 0.19482,
    "h": 332.6
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#9B218F
secondary
#58C062
accent
#E85040
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B218F

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

Preview Lab → · Contrast checker → · Palette generator →

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