#912FA5#912FA5

#912FA5 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.193 H 320.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#912FA5
RGBrgb(145, 47, 165)
HSLhsl(290, 56%, 42%)
HSVhsv(290, 72%, 65%)
CMYKcmyk(12.1%, 71.5%, 0%, 35.3%)
CIE-LABlab(39.19, 56.92, -43.96)
CIE-LCHlch(39.19, 71.92, 322.32°)
OKLaboklab(50.07% 0.1482 -0.1231)
OKLCHoklch(50.07% 0.193 320.3)
XYZxyz(19.4843, 10.7704, 36.6426)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FA5 #43A52F
analogous
#562FA5 #912FA5 #A52F7E
triadic
#912FA5 #A5912F #2FA591
tetradic
#912FA5 #A5562F #43A52F #2F7EA5
square
#912FA5 #A5562F #43A52F #2F7EA5
split-complementary
#912FA5 #7EA52F #2FA556
monochromatic
#3D1446 #672175 #912FA5 #B447CB #C876D8

Accessibility & contrast

On white

6.66
#912FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#912FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FA5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FA5#FFFFFF#000000##FFFFFF
##912FA51.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#3A60A2
Tritanopia (blue-blind)
#924567
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912fa5;
/* rgb */ color: rgb(145, 47, 165);
/* oklch */ color: oklch(50.1% 0.193 320.3);
Tailwind
colors: {
  custom: {
    50: '#b571c0',
    500: '#912fa5',
    950: '#000000',
  },
}
SCSS
$custom: #912fa5;
$custom-light: #b571c0;
$custom-dark: #000000;
JSON
{
  "hex": "#912fa5",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 289.831,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.19265,
    "h": 320.3
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#912FA5
secondary
#7DC070
accent
#DF4962
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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