#91218E#91218E

#91218E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.189 H 329.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#91218E
RGBrgb(145, 33, 142)
HSLhsl(302, 63%, 35%)
HSVhsv(302, 77%, 57%)
CMYKcmyk(0%, 77.2%, 2.1%, 43.1%)
CIE-LABlab(36.10, 57.70, -34.93)
CIE-LCHlch(36.10, 67.45, 328.81°)
OKLaboklab(47.42% 0.1625 -0.0967)
OKLCHoklch(47.42% 0.189 329.3)
XYZxyz(17.1033, 9.0618, 26.4342)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91218E #219124
analogous
#5C2191 #91218E #912156
triadic
#91218E #8E9121 #218E91
tetradic
#91218E #915C21 #219124 #215691
square
#91218E #915C21 #219124 #215691
split-complementary
#91218E #569121 #21915C
monochromatic
#2D0A2C #5F165D #91218E #C32CBF #D854D5

Accessibility & contrast

On white

7.47
#91218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #91218E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91218E#FFFFFF#000000##FFFFFF
##91218E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B91
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#963256
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #91218e;
/* rgb */ color: rgb(145, 33, 142);
/* oklch */ color: oklch(47.4% 0.189 329.3);
Tailwind
colors: {
  custom: {
    50: '#b56aaf',
    500: '#91218e',
    950: '#000000',
  },
}
SCSS
$custom: #91218e;
$custom-light: #b56aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#91218e",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 301.607,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47421,
    "c": 0.18906,
    "h": 329.3
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#91218E
secondary
#52BC55
accent
#E64642
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #91218E

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

Preview Lab → · Contrast checker → · Palette generator →

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