#912AB2#912AB2

#912AB2 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.210 H 316.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#912AB2
RGBrgb(145, 42, 178)
HSLhsl(285, 62%, 43%)
HSVhsv(285, 76%, 70%)
CMYKcmyk(18.5%, 76.4%, 0%, 30.2%)
CIE-LABlab(39.40, 61.27, -51.37)
CIE-LCHlch(39.40, 79.96, 320.02°)
OKLaboklab(50.49% 0.1517 -0.1448)
OKLCHoklch(50.49% 0.21 316.3)
XYZxyz(20.5397, 10.8909, 43.1311)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912AB2 #4BB22A
analogous
#4D2AB2 #912AB2 #B22A8F
triadic
#912AB2 #B2912A #2AB291
tetradic
#912AB2 #B24D2A #4BB22A #2A8FB2
square
#912AB2 #B24D2A #4BB22A #2A8FB2
split-complementary
#912AB2 #8FB22A #2AB24D
monochromatic
#40134F #691E80 #912AB2 #B146D3 #C677DF

Accessibility & contrast

On white

6.61
#912AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912AB2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912AB2#FFFFFF#000000##FFFFFF
##912AB21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#8F486D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912ab2;
/* rgb */ color: rgb(145, 42, 178);
/* oklch */ color: oklch(50.5% 0.210 316.3);
Tailwind
colors: {
  custom: {
    50: '#b56fca',
    500: '#912ab2',
    950: '#000000',
  },
}
SCSS
$custom: #912ab2;
$custom-light: #b56fca;
$custom-dark: #000000;
JSON
{
  "hex": "#912ab2",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 285.441,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.20966,
    "h": 316.3
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#912AB2
secondary
#86C771
accent
#E5436A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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