#912188#912188

#912188 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.184 H 331.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#912188
RGBrgb(145, 33, 136)
HSLhsl(305, 63%, 35%)
HSVhsv(305, 77%, 57%)
CMYKcmyk(0%, 77.2%, 6.2%, 43.1%)
CIE-LABlab(35.76, 56.73, -31.77)
CIE-LCHlch(35.76, 65.02, 330.75°)
OKLaboklab(47.07% 0.1624 -0.0875)
OKLCHoklch(47.07% 0.184 331.7)
XYZxyz(16.6649, 8.8864, 24.1253)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912188 #21912A
analogous
#622191 #912188 #912150
triadic
#912188 #889121 #218891
tetradic
#912188 #916221 #21912A #215091
square
#912188 #916221 #21912A #215091
split-complementary
#912188 #509121 #219162
monochromatic
#2D0A2A #5F1659 #912188 #C32CB7 #D854CE

Accessibility & contrast

On white

7.56
#912188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#912188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912188
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912188#FFFFFF#000000##FFFFFF
##9121881.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8B
Deuteranopia (green-blind)
#465A85
Tritanopia (blue-blind)
#972F53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #912188;
/* rgb */ color: rgb(145, 33, 136);
/* oklch */ color: oklch(47.1% 0.184 331.7);
Tailwind
colors: {
  custom: {
    50: '#b56aab',
    500: '#912188',
    950: '#000000',
  },
}
SCSS
$custom: #912188;
$custom-light: #b56aab;
$custom-dark: #000000;
JSON
{
  "hex": "#912188",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 304.821,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.18449,
    "h": 331.7
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#912188
secondary
#52BC5B
accent
#E64F42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #912188

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

Preview Lab → · Contrast checker → · Palette generator →

#912188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva