#912FA9#912FA9

#912FA9 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.196 H 318.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#912FA9
RGBrgb(145, 47, 169)
HSLhsl(288, 56%, 42%)
HSVhsv(288, 72%, 66%)
CMYKcmyk(14.2%, 72.2%, 0%, 33.7%)
CIE-LABlab(39.44, 57.69, -45.95)
CIE-LCHlch(39.44, 73.75, 321.47°)
OKLaboklab(50.33% 0.1479 -0.1289)
OKLCHoklch(50.33% 0.196 318.9)
XYZxyz(19.8541, 10.9183, 38.5901)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FA9 #47A92F
analogous
#542FA9 #912FA9 #A92F84
triadic
#912FA9 #A9912F #2FA991
tetradic
#912FA9 #A9542F #47A92F #2F84A9
square
#912FA9 #A9542F #47A92F #2F84A9
split-complementary
#912FA9 #84A92F #2FA954
monochromatic
#3F1449 #682279 #912FA9 #B249CC #C779DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912FA9#FFFFFF#000000##FFFFFF
##912FA91.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)
#0056AC
Deuteranopia (green-blind)
#3760A6
Tritanopia (blue-blind)
#914769
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912fa9;
/* rgb */ color: rgb(145, 47, 169);
/* oklch */ color: oklch(50.3% 0.196 318.9);
Tailwind
colors: {
  custom: {
    50: '#b571c3',
    500: '#912fa9',
    950: '#000000',
  },
}
SCSS
$custom: #912fa9;
$custom-light: #b571c3;
$custom-dark: #000000;
JSON
{
  "hex": "#912fa9",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 288.197,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.1962,
    "h": 318.9
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#912FA9
secondary
#82C272
accent
#E04866
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #912FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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