#912AB9#912AB9

#912AB9 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.216 H 314.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#912AB9
RGBrgb(145, 42, 185)
HSLhsl(283, 63%, 45%)
HSVhsv(283, 77%, 73%)
CMYKcmyk(21.6%, 77.3%, 0%, 27.5%)
CIE-LABlab(39.88, 62.65, -54.73)
CIE-LCHlch(39.88, 83.19, 318.86°)
OKLaboklab(50.98% 0.1506 -0.1546)
OKLCHoklch(50.98% 0.216 314.2)
XYZxyz(21.2605, 11.1792, 46.9274)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912AB9 #52B92A
analogous
#4A2AB9 #912AB9 #B92A9A
triadic
#912AB9 #B9912A #2AB991
tetradic
#912AB9 #B94A2A #52B92A #2A9AB9
square
#912AB9 #B94A2A #52B92A #2A9AB9
split-complementary
#912AB9 #9AB92A #2AB94A
monochromatic
#431355 #6A1F87 #912AB9 #AF4AD6 #C57CE1

Accessibility & contrast

On white

6.49
#912AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#912AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912AB9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912AB9#FFFFFF#000000##FFFFFF
##912AB91.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#8D4B71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912ab9;
/* rgb */ color: rgb(145, 42, 185);
/* oklch */ color: oklch(51.0% 0.216 314.2);
Tailwind
colors: {
  custom: {
    50: '#b66fcf',
    500: '#912ab9',
    950: '#000000',
  },
}
SCSS
$custom: #912ab9;
$custom-light: #b66fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#912ab9",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 283.217,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.2158,
    "h": 314.2
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#912AB9
secondary
#8DCA75
accent
#E64270
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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