#912C8A#912C8A

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

Color values

HEX#912C8A
RGBrgb(145, 44, 138)
HSLhsl(304, 53%, 37%)
HSVhsv(304, 70%, 57%)
CMYKcmyk(0%, 69.7%, 4.8%, 43.1%)
CIE-LABlab(37.22, 53.22, -30.71)
CIE-LCHlch(37.22, 61.45, 330.02°)
OKLaboklab(48.15% 0.1514 -0.0845)
OKLCHoklch(48.15% 0.173 330.8)
XYZxyz(17.1651, 9.6574, 24.9998)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912C8A #2C9133
analogous
#652C91 #912C8A #912C58
triadic
#912C8A #8A912C #2C8A91
tetradic
#912C8A #91652C #2C9133 #2C5891
square
#912C8A #91652C #2C9133 #2C5891
split-complementary
#912C8A #58912C #2C9165
monochromatic
#331031 #621E5D #912C8A #C03AB7 #D167C9

Accessibility & contrast

On white

7.16
#912C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#912C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912C8A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912C8A#FFFFFF#000000##FFFFFF
##912C8A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#4A5D87
Tritanopia (blue-blind)
#973757
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912c8a;
/* rgb */ color: rgb(145, 44, 138);
/* oklch */ color: oklch(48.2% 0.173 330.8);
Tailwind
colors: {
  custom: {
    50: '#b46eac',
    500: '#912c8a',
    950: '#000000',
  },
}
SCSS
$custom: #912c8a;
$custom-light: #b46eac;
$custom-dark: #000000;
JSON
{
  "hex": "#912c8a",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 304.158,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.17342,
    "h": 330.8
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#912C8A
secondary
#62B767
accent
#DD554B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #912C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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