#912CAB#912CAB

#912CAB is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.201 H 318.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#912CAB
RGBrgb(145, 44, 171)
HSLhsl(288, 59%, 42%)
HSVhsv(288, 74%, 67%)
CMYKcmyk(15.2%, 74.3%, 0%, 32.9%)
CIE-LABlab(39.18, 59.20, -47.56)
CIE-LCHlch(39.18, 75.94, 321.22°)
OKLaboklab(50.18% 0.1507 -0.1336)
OKLCHoklch(50.18% 0.201 318.4)
XYZxyz(19.9274, 10.7623, 39.5478)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CAB #46AB2C
analogous
#522CAB #912CAB #AB2C85
triadic
#912CAB #AB912C #2CAB91
tetradic
#912CAB #AB522C #46AB2C #2C85AB
square
#912CAB #AB522C #46AB2C #2C85AB
split-complementary
#912CAB #85AB2C #2CAB52
monochromatic
#3E134A #681F7A #912CAB #B345CF #C776DC

Accessibility & contrast

On white

6.66
#912CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#912CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CAB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CAB#FFFFFF#000000##FFFFFF
##912CAB1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#335FA8
Tritanopia (blue-blind)
#904669
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912cab;
/* rgb */ color: rgb(145, 44, 171);
/* oklch */ color: oklch(50.2% 0.201 318.4);
Tailwind
colors: {
  custom: {
    50: '#b570c5',
    500: '#912cab',
    950: '#000000',
  },
}
SCSS
$custom: #912cab;
$custom-light: #b570c5;
$custom-dark: #000000;
JSON
{
  "hex": "#912cab",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 287.717,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50182,
    "c": 0.20139,
    "h": 318.4
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

primary
#912CAB
secondary
#81C36F
accent
#E24666
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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