#91218A#91218A

#91218A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.186 H 330.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#91218A
RGBrgb(145, 33, 138)
HSLhsl(304, 63%, 35%)
HSVhsv(304, 77%, 57%)
CMYKcmyk(0%, 77.2%, 4.8%, 43.1%)
CIE-LABlab(35.88, 57.05, -32.83)
CIE-LCHlch(35.88, 65.82, 330.08°)
OKLaboklab(47.19% 0.1625 -0.0906)
OKLCHoklch(47.19% 0.186 330.9)
XYZxyz(16.8083, 8.9438, 24.8809)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91218A #219128
analogous
#602191 #91218A #912152
triadic
#91218A #8A9121 #218A91
tetradic
#91218A #916021 #219128 #215291
square
#91218A #916021 #219128 #215291
split-complementary
#91218A #529121 #219160
monochromatic
#2D0A2B #5F165B #91218A #C32CB9 #D854D0

Accessibility & contrast

On white

7.53
#91218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #91218A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91218A#FFFFFF#000000##FFFFFF
##91218A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8D
Deuteranopia (green-blind)
#455A87
Tritanopia (blue-blind)
#973054
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #91218a;
/* rgb */ color: rgb(145, 33, 138);
/* oklch */ color: oklch(47.2% 0.186 330.9);
Tailwind
colors: {
  custom: {
    50: '#b56aac',
    500: '#91218a',
    950: '#000000',
  },
}
SCSS
$custom: #91218a;
$custom-light: #b56aac;
$custom-dark: #000000;
JSON
{
  "hex": "#91218a",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 303.75,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47186,
    "c": 0.186,
    "h": 330.9
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

primary
#91218A
secondary
#52BC59
accent
#E64C42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #91218A

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

Preview Lab → · Contrast checker → · Palette generator →

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