#912AA2#912AA2

#912AA2 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.196 H 321.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#912AA2
RGBrgb(145, 42, 162)
HSLhsl(292, 59%, 40%)
HSVhsv(292, 74%, 64%)
CMYKcmyk(10.5%, 74.1%, 0%, 36.5%)
CIE-LABlab(38.35, 58.22, -43.50)
CIE-LCHlch(38.35, 72.68, 323.23°)
OKLaboklab(49.41% 0.1534 -0.1217)
OKLCHoklch(49.41% 0.196 321.6)
XYZxyz(19.0259, 10.2854, 35.1585)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912AA2 #3BA22A
analogous
#552AA2 #912AA2 #A22A77
triadic
#912AA2 #A2912A #2AA291
tetradic
#912AA2 #A2552A #3BA22A #2A77A2
square
#912AA2 #A2552A #3BA22A #2A77A2
split-complementary
#912AA2 #77A22A #2AA255
monochromatic
#3A1141 #661D71 #912AA2 #B83DCD #CA6DD9

Accessibility & contrast

On white

6.87
#912AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#912AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912AA2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912AA2#FFFFFF#000000##FFFFFF
##912AA21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#395E9F
Tritanopia (blue-blind)
#924164
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #912aa2;
/* rgb */ color: rgb(145, 42, 162);
/* oklch */ color: oklch(49.4% 0.196 321.6);
Tailwind
colors: {
  custom: {
    50: '#b56ebe',
    500: '#912aa2',
    950: '#000000',
  },
}
SCSS
$custom: #912aa2;
$custom-light: #b56ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#912aa2",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 291.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.4941,
    "c": 0.1958,
    "h": 321.6
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#912AA2
secondary
#74C068
accent
#E2465C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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