#912C8D#912C8D

#912C8D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.176 H 329.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#912C8D
RGBrgb(145, 44, 141)
HSLhsl(302, 53%, 37%)
HSVhsv(302, 70%, 57%)
CMYKcmyk(0%, 69.7%, 2.8%, 43.1%)
CIE-LABlab(37.38, 53.73, -32.30)
CIE-LCHlch(37.38, 62.69, 328.99°)
OKLaboklab(48.32% 0.1516 -0.0891)
OKLCHoklch(48.32% 0.176 329.6)
XYZxyz(17.3853, 9.7455, 26.1595)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912C8D #2C9130
analogous
#632C91 #912C8D #912C5B
triadic
#912C8D #8D912C #2C8D91
tetradic
#912C8D #91632C #2C9130 #2C5B91
square
#912C8D #91632C #2C9130 #2C5B91
split-complementary
#912C8D #5B912C #2C9163
monochromatic
#331032 #621E5F #912C8D #C03ABB #D167CD

Accessibility & contrast

On white

7.12
#912C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#912C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912C8D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912C8D#FFFFFF#000000##FFFFFF
##912C8D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#485D8A
Tritanopia (blue-blind)
#963959
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912c8d;
/* rgb */ color: rgb(145, 44, 141);
/* oklch */ color: oklch(48.3% 0.176 329.6);
Tailwind
colors: {
  custom: {
    50: '#b46eaf',
    500: '#912c8d',
    950: '#000000',
  },
}
SCSS
$custom: #912c8d;
$custom-light: #b46eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#912c8d",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 302.376,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48321,
    "c": 0.17584,
    "h": 329.6
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#912C8D
secondary
#62B765
accent
#DD514B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #912C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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