#912FAA#912FAA

#912FAA is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.197 H 318.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#912FAA
RGBrgb(145, 47, 170)
HSLhsl(288, 57%, 43%)
HSVhsv(288, 72%, 67%)
CMYKcmyk(14.7%, 72.4%, 0%, 33.3%)
CIE-LABlab(39.51, 57.89, -46.44)
CIE-LCHlch(39.51, 74.21, 321.26°)
OKLaboklab(50.4% 0.1479 -0.1303)
OKLCHoklch(50.4% 0.197 318.6)
XYZxyz(19.9483, 10.9560, 39.0864)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FAA #48AA2F
analogous
#542FAA #912FAA #AA2F85
triadic
#912FAA #AA912F #2FAA91
tetradic
#912FAA #AA542F #48AA2F #2F85AA
square
#912FAA #AA542F #48AA2F #2F85AA
split-complementary
#912FAA #85AA2F #2FAA54
monochromatic
#3F144A #68227A #912FAA #B249CD #C679DA

Accessibility & contrast

On white

6.58
#912FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#912FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FAA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FAA#FFFFFF#000000##FFFFFF
##912FAA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#3660A7
Tritanopia (blue-blind)
#91476A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912faa;
/* rgb */ color: rgb(145, 47, 170);
/* oklch */ color: oklch(50.4% 0.197 318.6);
Tailwind
colors: {
  custom: {
    50: '#b571c4',
    500: '#912faa',
    950: '#000000',
  },
}
SCSS
$custom: #912faa;
$custom-light: #b571c4;
$custom-dark: #000000;
JSON
{
  "hex": "#912faa",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 287.805,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50396,
    "c": 0.1971,
    "h": 318.6
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#912FAA
secondary
#83C272
accent
#E04867
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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