#91228C#91228C

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

Color values

HEX#91228C
RGBrgb(145, 34, 140)
HSLhsl(303, 62%, 35%)
HSVhsv(303, 77%, 57%)
CMYKcmyk(0%, 76.6%, 3.4%, 43.1%)
CIE-LABlab(36.10, 57.06, -33.71)
CIE-LCHlch(36.10, 66.28, 329.42°)
OKLaboklab(47.38% 0.1616 -0.0931)
OKLCHoklch(47.38% 0.187 330)
XYZxyz(16.9826, 9.0586, 25.6599)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91228C #229127
analogous
#5F2291 #91228C #912254
triadic
#91228C #8C9122 #228C91
tetradic
#91228C #915F22 #229127 #225491
square
#91228C #915F22 #229127 #225491
split-complementary
#91228C #549122 #22915F
monochromatic
#2E0B2C #5F165C #91228C #C32EBC #D756D2

Accessibility & contrast

On white

7.47
#91228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#91228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91228C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91228C#FFFFFF#000000##FFFFFF
##91228C1.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)
#124B8F
Deuteranopia (green-blind)
#445A89
Tritanopia (blue-blind)
#973256
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #91228c;
/* rgb */ color: rgb(145, 34, 140);
/* oklch */ color: oklch(47.4% 0.187 330.0);
Tailwind
colors: {
  custom: {
    50: '#b56aae',
    500: '#91228c',
    950: '#000000',
  },
}
SCSS
$custom: #91228c;
$custom-light: #b56aae;
$custom-dark: #000000;
JSON
{
  "hex": "#91228c",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 302.703,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4738,
    "c": 0.18651,
    "h": 330
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#91228C
secondary
#53BB58
accent
#E54A43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #91228C

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

Preview Lab → · Contrast checker → · Palette generator →

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