#912AA6#912AA6

#912AA6 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.199 H 320.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#912AA6
RGBrgb(145, 42, 166)
HSLhsl(290, 60%, 41%)
HSVhsv(290, 75%, 65%)
CMYKcmyk(12.7%, 74.7%, 0%, 34.9%)
CIE-LABlab(38.60, 58.97, -45.50)
CIE-LCHlch(38.60, 74.48, 322.35°)
OKLaboklab(49.67% 0.1531 -0.1275)
OKLCHoklch(49.67% 0.199 320.2)
XYZxyz(19.3871, 10.4298, 37.0610)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912AA6 #3FA62A
analogous
#532AA6 #912AA6 #A62A7D
triadic
#912AA6 #A6912A #2AA691
tetradic
#912AA6 #A6532A #3FA62A #2A7DA6
square
#912AA6 #A6532A #3FA62A #2A7DA6
split-complementary
#912AA6 #7DA62A #2AA653
monochromatic
#3C1144 #661E75 #912AA6 #B63FCE #C970DB

Accessibility & contrast

On white

6.81
#912AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#912AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912AA6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912AA6#FFFFFF#000000##FFFFFF
##912AA61.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#365EA3
Tritanopia (blue-blind)
#924366
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912aa6;
/* rgb */ color: rgb(145, 42, 166);
/* oklch */ color: oklch(49.7% 0.199 320.2);
Tailwind
colors: {
  custom: {
    50: '#b56fc1',
    500: '#912aa6',
    950: '#000000',
  },
}
SCSS
$custom: #912aa6;
$custom-light: #b56fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#912aa6",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 289.839,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49671,
    "c": 0.19924,
    "h": 320.2
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#912AA6
secondary
#79C26A
accent
#E34560
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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