#912D9C#912D9C

#912D9C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.187 H 323.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#912D9C
RGBrgb(145, 45, 156)
HSLhsl(294, 55%, 39%)
HSVhsv(294, 71%, 61%)
CMYKcmyk(7.1%, 71.2%, 0%, 38.8%)
CIE-LABlab(38.37, 56.01, -39.85)
CIE-LCHlch(38.37, 68.74, 324.57°)
OKLaboklab(49.31% 0.1507 -0.1111)
OKLCHoklch(49.31% 0.187 323.6)
XYZxyz(18.6156, 10.2979, 32.4532)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912D9C #389C2D
analogous
#5A2D9C #912D9C #9C2D70
triadic
#912D9C #9C912D #2D9C91
tetradic
#912D9C #9C5A2D #389C2D #2D709C
square
#912D9C #9C5A2D #389C2D #2D709C
split-complementary
#912D9C #709C2D #2D9C5A
monochromatic
#39123D #651F6D #912D9C #BA3FC8 #CB6ED5

Accessibility & contrast

On white

6.86
#912D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#912D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912D9C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912D9C#FFFFFF#000000##FFFFFF
##912D9C1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09539F
Deuteranopia (green-blind)
#405E99
Tritanopia (blue-blind)
#944061
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #912d9c;
/* rgb */ color: rgb(145, 45, 156);
/* oklch */ color: oklch(49.3% 0.187 323.6);
Tailwind
colors: {
  custom: {
    50: '#b56fba',
    500: '#912d9c',
    950: '#000000',
  },
}
SCSS
$custom: #912d9c;
$custom-light: #b56fba;
$custom-dark: #000000;
JSON
{
  "hex": "#912d9c",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 294.054,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.18719,
    "h": 323.6
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#912D9C
secondary
#71BC68
accent
#DF4958
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #912D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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