#912E9C#912E9C

#912E9C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.186 H 323.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#912E9C
RGBrgb(145, 46, 156)
HSLhsl(294, 54%, 40%)
HSVhsv(294, 71%, 61%)
CMYKcmyk(7.1%, 70.5%, 0%, 38.8%)
CIE-LABlab(38.51, 55.62, -39.64)
CIE-LCHlch(38.51, 68.30, 324.53°)
OKLaboklab(49.41% 0.1496 -0.1104)
OKLCHoklch(49.41% 0.186 323.6)
XYZxyz(18.6543, 10.3751, 32.4661)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E9C #399C2E
analogous
#5A2E9C #912E9C #9C2E70
triadic
#912E9C #9C912E #2E9C91
tetradic
#912E9C #9C5A2E #399C2E #2E709C
square
#912E9C #9C5A2E #399C2E #2E709C
split-complementary
#912E9C #709C2E #2E9C5A
monochromatic
#39123D #65206D #912E9C #B940C7 #CB70D5

Accessibility & contrast

On white

6.83
#912E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#912E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912E9C
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E9C#FFFFFF#000000##FFFFFF
##912E9C1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#405F99
Tritanopia (blue-blind)
#944162
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912e9c;
/* rgb */ color: rgb(145, 46, 156);
/* oklch */ color: oklch(49.4% 0.186 323.6);
Tailwind
colors: {
  custom: {
    50: '#b570ba',
    500: '#912e9c',
    950: '#000000',
  },
}
SCSS
$custom: #912e9c;
$custom-light: #b570ba;
$custom-dark: #000000;
JSON
{
  "hex": "#912e9c",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 294,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.18597,
    "h": 323.6
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#912E9C
secondary
#72BC6A
accent
#DE4A59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #912E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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