#912187#912187

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

Color values

HEX#912187
RGBrgb(145, 33, 135)
HSLhsl(305, 63%, 35%)
HSVhsv(305, 77%, 57%)
CMYKcmyk(0%, 77.2%, 6.9%, 43.1%)
CIE-LABlab(35.71, 56.57, -31.24)
CIE-LCHlch(35.71, 64.62, 331.09°)
OKLaboklab(47.01% 0.1624 -0.086)
OKLCHoklch(47.01% 0.184 332.1)
XYZxyz(16.5941, 8.8581, 23.7528)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912187 #21912B
analogous
#632191 #912187 #91214F
triadic
#912187 #879121 #218791
tetradic
#912187 #916321 #21912B #214F91
square
#912187 #916321 #21912B #214F91
split-complementary
#912187 #4F9121 #219163
monochromatic
#2D0A2A #5F1659 #912187 #C32CB5 #D854CC

Accessibility & contrast

On white

7.58
#912187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#912187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912187
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912187#FFFFFF#000000##FFFFFF
##9121871.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#465984
Tritanopia (blue-blind)
#972E53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #912187;
/* rgb */ color: rgb(145, 33, 135);
/* oklch */ color: oklch(47.0% 0.184 332.1);
Tailwind
colors: {
  custom: {
    50: '#b56aaa',
    500: '#912187',
    950: '#000000',
  },
}
SCSS
$custom: #912187;
$custom-light: #b56aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#912187",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 305.357,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.18374,
    "h": 332.1
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #912187

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

Preview Lab → · Contrast checker → · Palette generator →

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