#912FA1#912FA1

#912FA1 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.189 H 321.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#912FA1
RGBrgb(145, 47, 161)
HSLhsl(292, 55%, 41%)
HSVhsv(292, 71%, 63%)
CMYKcmyk(9.9%, 70.8%, 0%, 36.9%)
CIE-LABlab(38.95, 56.17, -41.95)
CIE-LCHlch(38.95, 70.10, 323.24°)
OKLaboklab(49.82% 0.1484 -0.1172)
OKLCHoklch(49.82% 0.189 321.7)
XYZxyz(19.1259, 10.6270, 34.7551)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FA1 #3FA12F
analogous
#582FA1 #912FA1 #A12F78
triadic
#912FA1 #A1912F #2FA191
tetradic
#912FA1 #A1582F #3FA12F #2F78A1
square
#912FA1 #A1582F #3FA12F #2F78A1
split-complementary
#912FA1 #78A12F #2FA158
monochromatic
#3C1342 #662172 #912FA1 #B645C9 #C974D6

Accessibility & contrast

On white

6.72
#912FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#912FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FA1
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FA1#FFFFFF#000000##FFFFFF
##912FA11.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A4
Deuteranopia (green-blind)
#3D5F9E
Tritanopia (blue-blind)
#934365
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912fa1;
/* rgb */ color: rgb(145, 47, 161);
/* oklch */ color: oklch(49.8% 0.189 321.7);
Tailwind
colors: {
  custom: {
    50: '#b571bd',
    500: '#912fa1',
    950: '#000000',
  },
}
SCSS
$custom: #912fa1;
$custom-light: #b571bd;
$custom-dark: #000000;
JSON
{
  "hex": "#912fa1",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 291.579,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49815,
    "c": 0.18911,
    "h": 321.7
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#912FA1
secondary
#79BE6E
accent
#DE4A5E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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