#91218C#91218C

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

Color values

HEX#91218C
RGBrgb(145, 33, 140)
HSLhsl(303, 63%, 35%)
HSVhsv(303, 77%, 57%)
CMYKcmyk(0%, 77.2%, 3.4%, 43.1%)
CIE-LABlab(35.99, 57.37, -33.89)
CIE-LCHlch(35.99, 66.63, 329.43°)
OKLaboklab(47.3% 0.1625 -0.0936)
OKLCHoklch(47.3% 0.188 330.1)
XYZxyz(16.9545, 9.0022, 25.6505)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91218C #219126
analogous
#5E2191 #91218C #912154
triadic
#91218C #8C9121 #218C91
tetradic
#91218C #915E21 #219126 #215491
square
#91218C #915E21 #219126 #215491
split-complementary
#91218C #549121 #21915E
monochromatic
#2D0A2C #5F165C #91218C #C32CBC #D854D2

Accessibility & contrast

On white

7.50
#91218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#91218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91218C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91218C#FFFFFF#000000##FFFFFF
##91218C1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114B8F
Deuteranopia (green-blind)
#445A89
Tritanopia (blue-blind)
#973155
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #91218c;
/* rgb */ color: rgb(145, 33, 140);
/* oklch */ color: oklch(47.3% 0.188 330.1);
Tailwind
colors: {
  custom: {
    50: '#b56aae',
    500: '#91218c',
    950: '#000000',
  },
}
SCSS
$custom: #91218c;
$custom-light: #b56aae;
$custom-dark: #000000;
JSON
{
  "hex": "#91218c",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 302.679,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47303,
    "c": 0.18753,
    "h": 330.1
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#91218C
secondary
#52BC57
accent
#E64942
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #91218C

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

Preview Lab → · Contrast checker → · Palette generator →

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