#912EAB#912EAB

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

Color values

HEX#912EAB
RGBrgb(145, 46, 171)
HSLhsl(288, 58%, 43%)
HSVhsv(288, 73%, 67%)
CMYKcmyk(15.2%, 73.1%, 0%, 32.9%)
CIE-LABlab(39.44, 58.46, -47.15)
CIE-LCHlch(39.44, 75.10, 321.11°)
OKLaboklab(50.37% 0.1488 -0.1324)
OKLCHoklch(50.37% 0.199 318.3)
XYZxyz(20.0037, 10.9149, 39.5733)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EAB #48AB2E
analogous
#522EAB #912EAB #AB2E87
triadic
#912EAB #AB912E #2EAB91
tetradic
#912EAB #AB522E #48AB2E #2E87AB
square
#912EAB #AB522E #48AB2E #2E87AB
split-complementary
#912EAB #87AB2E #2EAB52
monochromatic
#3F144B #68217B #912EAB #B248CE #C679DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912EAB#FFFFFF#000000##FFFFFF
##912EAB1.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)
#0057AF
Deuteranopia (green-blind)
#3460A8
Tritanopia (blue-blind)
#90476A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912eab;
/* rgb */ color: rgb(145, 46, 171);
/* oklch */ color: oklch(50.4% 0.199 318.3);
Tailwind
colors: {
  custom: {
    50: '#b571c5',
    500: '#912eab',
    950: '#000000',
  },
}
SCSS
$custom: #912eab;
$custom-light: #b571c5;
$custom-dark: #000000;
JSON
{
  "hex": "#912eab",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 287.52,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50367,
    "c": 0.19914,
    "h": 318.3
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#912EAB
secondary
#83C372
accent
#E14767
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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