#912AA4#912AA4

#912AA4 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.198 H 320.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#912AA4
RGBrgb(145, 42, 164)
HSLhsl(291, 59%, 40%)
HSVhsv(291, 74%, 64%)
CMYKcmyk(11.6%, 74.4%, 0%, 35.7%)
CIE-LABlab(38.48, 58.59, -44.50)
CIE-LCHlch(38.48, 73.58, 322.78°)
OKLaboklab(49.54% 0.1532 -0.1246)
OKLCHoklch(49.54% 0.198 320.9)
XYZxyz(19.2051, 10.3570, 36.1023)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912AA4 #3DA42A
analogous
#542AA4 #912AA4 #A42A7A
triadic
#912AA4 #A4912A #2AA491
tetradic
#912AA4 #A4542A #3DA42A #2A7AA4
square
#912AA4 #A4542A #3DA42A #2A7AA4
split-complementary
#912AA4 #7AA42A #2AA454
monochromatic
#3B1143 #661E73 #912AA4 #B73ECD #C96EDA

Accessibility & contrast

On white

6.84
#912AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#912AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912AA4
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912AA4#FFFFFF#000000##FFFFFF
##912AA41.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#385EA1
Tritanopia (blue-blind)
#924265
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912aa4;
/* rgb */ color: rgb(145, 42, 164);
/* oklch */ color: oklch(49.5% 0.198 320.9);
Tailwind
colors: {
  custom: {
    50: '#b56ec0',
    500: '#912aa4',
    950: '#000000',
  },
}
SCSS
$custom: #912aa4;
$custom-light: #b56ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#912aa4",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 290.656,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.19752,
    "h": 320.9
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#912AA4
secondary
#77C169
accent
#E2455E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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