#912E9A#912E9A

#912E9A is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.184 H 324.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#912E9A
RGBrgb(145, 46, 154)
HSLhsl(295, 54%, 39%)
HSVhsv(295, 70%, 60%)
CMYKcmyk(5.8%, 70.1%, 0%, 39.6%)
CIE-LABlab(38.39, 55.26, -38.61)
CIE-LCHlch(38.39, 67.41, 325.05°)
OKLaboklab(49.28% 0.1497 -0.1075)
OKLCHoklch(49.28% 0.184 324.3)
XYZxyz(18.4863, 10.3080, 31.5815)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E9A #379A2E
analogous
#5B2E9A #912E9A #9A2E6D
triadic
#912E9A #9A912E #2E9A91
tetradic
#912E9A #9A5B2E #379A2E #2E6D9A
square
#912E9A #9A5B2E #379A2E #2E6D9A
split-complementary
#912E9A #6D9A2E #2E9A5B
monochromatic
#38123C #65206B #912E9A #BB3FC6 #CB6FD4

Accessibility & contrast

On white

6.86
#912E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912E9A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E9A#FFFFFF#000000##FFFFFF
##912E9A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539D
Deuteranopia (green-blind)
#425E97
Tritanopia (blue-blind)
#944061
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #912e9a;
/* rgb */ color: rgb(145, 46, 154);
/* oklch */ color: oklch(49.3% 0.184 324.3);
Tailwind
colors: {
  custom: {
    50: '#b570b8',
    500: '#912e9a',
    950: '#000000',
  },
}
SCSS
$custom: #912e9a;
$custom-light: #b570b8;
$custom-dark: #000000;
JSON
{
  "hex": "#912e9a",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 295,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.18424,
    "h": 324.3
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#912E9A
secondary
#70BB69
accent
#DD4A57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #912E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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