#912AAA#912AAA

#912AAA is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.203 H 318.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#912AAA
RGBrgb(145, 42, 170)
HSLhsl(288, 60%, 42%)
HSVhsv(288, 75%, 67%)
CMYKcmyk(14.7%, 75.3%, 0%, 33.3%)
CIE-LABlab(38.86, 59.73, -47.47)
CIE-LCHlch(38.86, 76.30, 321.52°)
OKLaboklab(49.94% 0.1527 -0.1333)
OKLCHoklch(49.94% 0.203 318.9)
XYZxyz(19.7597, 10.5789, 39.0235)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912AAA #43AA2A
analogous
#512AAA #912AAA #AA2A83
triadic
#912AAA #AA912A #2AAA91
tetradic
#912AAA #AA512A #43AA2A #2A83AA
square
#912AAA #AA512A #43AA2A #2A83AA
split-complementary
#912AAA #83AA2A #2AAA51
monochromatic
#3D1248 #671E79 #912AAA #B441D0 #C872DC

Accessibility & contrast

On white

6.74
#912AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#912AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912AAA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912AAA#FFFFFF#000000##FFFFFF
##912AAA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#325FA7
Tritanopia (blue-blind)
#914568
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912aaa;
/* rgb */ color: rgb(145, 42, 170);
/* oklch */ color: oklch(49.9% 0.203 318.9);
Tailwind
colors: {
  custom: {
    50: '#b56fc4',
    500: '#912aaa',
    950: '#000000',
  },
}
SCSS
$custom: #912aaa;
$custom-light: #b56fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#912aaa",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 288.281,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49938,
    "c": 0.20269,
    "h": 318.9
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#912AAA
secondary
#7DC36C
accent
#E44463
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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