#91217F#91217F

#91217F is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.178 H 335.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#91217F
RGBrgb(145, 33, 127)
HSLhsl(310, 63%, 35%)
HSVhsv(310, 77%, 57%)
CMYKcmyk(0%, 77.2%, 12.4%, 43.1%)
CIE-LABlab(35.28, 55.32, -26.94)
CIE-LCHlch(35.28, 61.54, 334.03°)
OKLaboklab(46.57% 0.1619 -0.0736)
OKLCHoklch(46.57% 0.178 335.6)
XYZxyz(16.0519, 8.6412, 20.8971)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91217F #219133
analogous
#6B2191 #91217F #912147
triadic
#91217F #7F9121 #217F91
tetradic
#91217F #916B21 #219133 #214791
square
#91217F #916B21 #219133 #214791
split-complementary
#91217F #479121 #21916B
monochromatic
#2D0A28 #5F1653 #91217F #C32CAB #D854C3

Accessibility & contrast

On white

7.70
#91217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#91217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91217F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91217F#FFFFFF#000000##FFFFFF
##91217F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224882
Deuteranopia (green-blind)
#4A597C
Tritanopia (blue-blind)
#992A4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #91217f;
/* rgb */ color: rgb(145, 33, 127);
/* oklch */ color: oklch(46.6% 0.178 335.6);
Tailwind
colors: {
  custom: {
    50: '#b569a4',
    500: '#91217f',
    950: '#000000',
  },
}
SCSS
$custom: #91217f;
$custom-light: #b569a4;
$custom-dark: #000000;
JSON
{
  "hex": "#91217f",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 309.643,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4657,
    "c": 0.17788,
    "h": 335.6
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#91217F
secondary
#52BC63
accent
#E65C42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #91217F

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

Preview Lab → · Contrast checker → · Palette generator →

#91217F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva