#91218B#91218B

#91218B is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.187 H 330.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#91218B
RGBrgb(145, 33, 139)
HSLhsl(303, 63%, 35%)
HSVhsv(303, 77%, 57%)
CMYKcmyk(0%, 77.2%, 4.1%, 43.1%)
CIE-LABlab(35.93, 57.21, -33.36)
CIE-LCHlch(35.93, 66.23, 329.75°)
OKLaboklab(47.24% 0.1625 -0.0921)
OKLCHoklch(47.24% 0.187 330.5)
XYZxyz(16.8811, 8.9729, 25.2639)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91218B #219127
analogous
#5F2191 #91218B #912153
triadic
#91218B #8B9121 #218B91
tetradic
#91218B #915F21 #219127 #215391
square
#91218B #915F21 #219127 #215391
split-complementary
#91218B #539121 #21915F
monochromatic
#2D0A2B #5F165B #91218B #C32CBB #D854D1

Accessibility & contrast

On white

7.52
#91218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#91218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91218B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91218B#FFFFFF#000000##FFFFFF
##91218B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#973055
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #91218b;
/* rgb */ color: rgb(145, 33, 139);
/* oklch */ color: oklch(47.2% 0.187 330.5);
Tailwind
colors: {
  custom: {
    50: '#b56aad',
    500: '#91218b',
    950: '#000000',
  },
}
SCSS
$custom: #91218b;
$custom-light: #b56aad;
$custom-dark: #000000;
JSON
{
  "hex": "#91218b",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 303.214,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47244,
    "c": 0.18676,
    "h": 330.5
  },
  "luminance": 0.08972
}

Semantic roles & 50–950 ramp

primary
#91218B
secondary
#52BC58
accent
#E64B42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #91218B

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

Preview Lab → · Contrast checker → · Palette generator →

#91218B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva