#91228A#91228A

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

Color values

HEX#91228A
RGBrgb(145, 34, 138)
HSLhsl(304, 62%, 35%)
HSVhsv(304, 77%, 57%)
CMYKcmyk(0%, 76.6%, 4.8%, 43.1%)
CIE-LABlab(35.98, 56.74, -32.66)
CIE-LCHlch(35.98, 65.47, 330.07°)
OKLaboklab(47.26% 0.1616 -0.0901)
OKLCHoklch(47.26% 0.185 330.9)
XYZxyz(16.8365, 9.0001, 24.8903)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91228A #229129
analogous
#612291 #91228A #912252
triadic
#91228A #8A9122 #228A91
tetradic
#91228A #916122 #229129 #225291
square
#91228A #916122 #229129 #225291
split-complementary
#91228A #529122 #229161
monochromatic
#2E0B2C #5F165B #91228A #C32EB9 #D756CF

Accessibility & contrast

On white

7.50
#91228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#91228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91228A
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91228A#FFFFFF#000000##FFFFFF
##91228A1.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)
#164B8D
Deuteranopia (green-blind)
#455A87
Tritanopia (blue-blind)
#973154
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #91228a;
/* rgb */ color: rgb(145, 34, 138);
/* oklch */ color: oklch(47.3% 0.185 330.9);
Tailwind
colors: {
  custom: {
    50: '#b56aac',
    500: '#91228a',
    950: '#000000',
  },
}
SCSS
$custom: #91228a;
$custom-light: #b56aac;
$custom-dark: #000000;
JSON
{
  "hex": "#91228a",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 303.784,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47264,
    "c": 0.18498,
    "h": 330.9
  },
  "luminance": 0.08999
}

Semantic roles & 50–950 ramp

primary
#91228A
secondary
#53BB5A
accent
#E54D43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #91228A

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

Preview Lab → · Contrast checker → · Palette generator →

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