#91218D#91218D

#91218D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.188 H 329.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#91218D
RGBrgb(145, 33, 141)
HSLhsl(302, 63%, 35%)
HSVhsv(302, 77%, 57%)
CMYKcmyk(0%, 77.2%, 2.8%, 43.1%)
CIE-LABlab(36.05, 57.54, -34.41)
CIE-LCHlch(36.05, 67.04, 329.12°)
OKLaboklab(47.36% 0.1625 -0.0951)
OKLCHoklch(47.36% 0.188 329.7)
XYZxyz(17.0285, 9.0319, 26.0406)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91218D #219125
analogous
#5D2191 #91218D #912155
triadic
#91218D #8D9121 #218D91
tetradic
#91218D #915D21 #219125 #215591
square
#91218D #915D21 #219125 #215591
split-complementary
#91218D #559121 #21915D
monochromatic
#2D0A2C #5F165D #91218D #C32CBD #D854D3

Accessibility & contrast

On white

7.48
#91218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#91218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91218D
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91218D#FFFFFF#000000##FFFFFF
##91218D1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B90
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#963156
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #91218d;
/* rgb */ color: rgb(145, 33, 141);
/* oklch */ color: oklch(47.4% 0.188 329.7);
Tailwind
colors: {
  custom: {
    50: '#b56aaf',
    500: '#91218d',
    950: '#000000',
  },
}
SCSS
$custom: #91218d;
$custom-light: #b56aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#91218d",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 302.143,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.18829,
    "h": 329.7
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#91218D
secondary
#52BC56
accent
#E64842
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #91218D

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

Preview Lab → · Contrast checker → · Palette generator →

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