#912E87#912E87

#912E87 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.168 H 332.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#912E87
RGBrgb(145, 46, 135)
HSLhsl(306, 52%, 37%)
HSVhsv(306, 68%, 57%)
CMYKcmyk(0%, 68.3%, 6.9%, 43.1%)
CIE-LABlab(37.34, 51.94, -28.67)
CIE-LCHlch(37.34, 59.32, 331.10°)
OKLaboklab(48.19% 0.1489 -0.0786)
OKLCHoklch(48.19% 0.168 332.2)
XYZxyz(17.0272, 9.7243, 23.8972)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E87 #2E9138
analogous
#6A2E91 #912E87 #912E55
triadic
#912E87 #87912E #2E8791
tetradic
#912E87 #916A2E #2E9138 #2E5591
square
#912E87 #916A2E #2E9138 #2E5591
split-complementary
#912E87 #55912E #2E916A
monochromatic
#341130 #631F5C #912E87 #BF3DB2 #D06AC5

Accessibility & contrast

On white

7.13
#912E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#912E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912E87
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E87#FFFFFF#000000##FFFFFF
##912E871.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#4C5D84
Tritanopia (blue-blind)
#973856
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912e87;
/* rgb */ color: rgb(145, 46, 135);
/* oklch */ color: oklch(48.2% 0.168 332.2);
Tailwind
colors: {
  custom: {
    50: '#b46faa',
    500: '#912e87',
    950: '#000000',
  },
}
SCSS
$custom: #912e87;
$custom-light: #b46faa;
$custom-dark: #000000;
JSON
{
  "hex": "#912e87",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 306.061,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4819,
    "c": 0.16842,
    "h": 332.2
  },
  "luminance": 0.09723
}

Semantic roles & 50–950 ramp

primary
#912E87
secondary
#64B76D
accent
#DB5B4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #912E87

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

Preview Lab → · Contrast checker → · Palette generator →

#912E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva