#912DAD#912DAD

#912DAD is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.202 H 317.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#912DAD
RGBrgb(145, 45, 173)
HSLhsl(287, 59%, 43%)
HSVhsv(287, 74%, 68%)
CMYKcmyk(16.2%, 74%, 0%, 32.2%)
CIE-LABlab(39.44, 59.22, -48.34)
CIE-LCHlch(39.44, 76.45, 320.78°)
OKLaboklab(50.41% 0.1495 -0.1359)
OKLCHoklch(50.41% 0.202 317.7)
XYZxyz(20.1572, 10.9145, 40.5720)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DAD #49AD2D
analogous
#512DAD #912DAD #AD2D89
triadic
#912DAD #AD912D #2DAD91
tetradic
#912DAD #AD512D #49AD2D #2D89AD
square
#912DAD #AD512D #49AD2D #2D89AD
split-complementary
#912DAD #89AD2D #2DAD51
monochromatic
#40144C #68207C #912DAD #B248CF #C678DC

Accessibility & contrast

On white

6.60
#912DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#912DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DAD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DAD#FFFFFF#000000##FFFFFF
##912DAD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#3260AA
Tritanopia (blue-blind)
#90486B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912dad;
/* rgb */ color: rgb(145, 45, 173);
/* oklch */ color: oklch(50.4% 0.202 317.7);
Tailwind
colors: {
  custom: {
    50: '#b570c6',
    500: '#912dad',
    950: '#000000',
  },
}
SCSS
$custom: #912dad;
$custom-light: #b570c6;
$custom-dark: #000000;
JSON
{
  "hex": "#912dad",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 286.875,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50408,
    "c": 0.20205,
    "h": 317.7
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#912DAD
secondary
#84C472
accent
#E24668
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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