#912CA6#912CA6

#912CA6 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.197 H 320.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#912CA6
RGBrgb(145, 44, 166)
HSLhsl(290, 58%, 41%)
HSVhsv(290, 73%, 65%)
CMYKcmyk(12.7%, 73.5%, 0%, 34.9%)
CIE-LABlab(38.86, 58.25, -45.09)
CIE-LCHlch(38.86, 73.66, 322.25°)
OKLaboklab(49.85% 0.1512 -0.1264)
OKLCHoklch(49.85% 0.197 320.1)
XYZxyz(19.4598, 10.5753, 37.0852)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CA6 #41A62C
analogous
#542CA6 #912CA6 #A62C7E
triadic
#912CA6 #A6912C #2CA691
tetradic
#912CA6 #A6542C #41A62C #2C7EA6
square
#912CA6 #A6542C #41A62C #2C7EA6
split-complementary
#912CA6 #7EA62C #2CA654
monochromatic
#3C1245 #671F76 #912CA6 #B542CD #C873DA

Accessibility & contrast

On white

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

On black

3.11
#912CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##912CA6#FFFFFF#000000##FFFFFF
##912CA61.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#375FA3
Tritanopia (blue-blind)
#924467
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912ca6;
/* rgb */ color: rgb(145, 44, 166);
/* oklch */ color: oklch(49.9% 0.197 320.1);
Tailwind
colors: {
  custom: {
    50: '#b56fc1',
    500: '#912ca6',
    950: '#000000',
  },
}
SCSS
$custom: #912ca6;
$custom-light: #b56fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#912ca6",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 289.672,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49851,
    "c": 0.19701,
    "h": 320.1
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#912CA6
secondary
#7BC16D
accent
#E14661
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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