#912EA1#912EA1

#912EA1 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.190 H 321.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#912EA1
RGBrgb(145, 46, 161)
HSLhsl(292, 56%, 41%)
HSVhsv(292, 71%, 63%)
CMYKcmyk(9.9%, 71.4%, 0%, 36.9%)
CIE-LABlab(38.81, 56.55, -42.17)
CIE-LCHlch(38.81, 70.54, 323.29°)
OKLaboklab(49.72% 0.1495 -0.1178)
OKLCHoklch(49.72% 0.19 321.7)
XYZxyz(19.0864, 10.5480, 34.7419)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EA1 #3EA12E
analogous
#572EA1 #912EA1 #A12E77
triadic
#912EA1 #A1912E #2EA191
tetradic
#912EA1 #A1572E #3EA12E #2E77A1
square
#912EA1 #A1572E #3EA12E #2E77A1
split-complementary
#912EA1 #77A12E #2EA157
monochromatic
#3B1342 #662071 #912EA1 #B743C9 #C973D7

Accessibility & contrast

On white

6.75
#912EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912EA1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EA1#FFFFFF#000000##FFFFFF
##912EA11.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#3D5F9E
Tritanopia (blue-blind)
#934364
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912ea1;
/* rgb */ color: rgb(145, 46, 161);
/* oklch */ color: oklch(49.7% 0.190 321.7);
Tailwind
colors: {
  custom: {
    50: '#b570bd',
    500: '#912ea1',
    950: '#000000',
  },
}
SCSS
$custom: #912ea1;
$custom-light: #b570bd;
$custom-dark: #000000;
JSON
{
  "hex": "#912ea1",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 291.652,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49718,
    "c": 0.19032,
    "h": 321.7
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#912EA1
secondary
#78BE6C
accent
#DF495E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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