#912E9B#912E9B

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

Color values

HEX#912E9B
RGBrgb(145, 46, 155)
HSLhsl(294, 54%, 39%)
HSVhsv(294, 70%, 61%)
CMYKcmyk(6.5%, 70.3%, 0%, 39.2%)
CIE-LABlab(38.45, 55.44, -39.13)
CIE-LCHlch(38.45, 67.86, 324.79°)
OKLaboklab(49.34% 0.1497 -0.1089)
OKLCHoklch(49.34% 0.185 323.9)
XYZxyz(18.5699, 10.3414, 32.0220)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E9B #389B2E
analogous
#5A2E9B #912E9B #9B2E6F
triadic
#912E9B #9B912E #2E9B91
tetradic
#912E9B #9B5A2E #389B2E #2E6F9B
square
#912E9B #9B5A2E #389B2E #2E6F9B
split-complementary
#912E9B #6F9B2E #2E9B5A
monochromatic
#39123D #65206C #912E9B #BA40C6 #CB6FD4

Accessibility & contrast

On white

6.84
#912E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912E9B
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E9B#FFFFFF#000000##FFFFFF
##912E9B1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539E
Deuteranopia (green-blind)
#415F98
Tritanopia (blue-blind)
#944061
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #912e9b;
/* rgb */ color: rgb(145, 46, 155);
/* oklch */ color: oklch(49.3% 0.185 323.9);
Tailwind
colors: {
  custom: {
    50: '#b570b9',
    500: '#912e9b',
    950: '#000000',
  },
}
SCSS
$custom: #912e9b;
$custom-light: #b570b9;
$custom-dark: #000000;
JSON
{
  "hex": "#912e9b",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 294.495,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49344,
    "c": 0.18511,
    "h": 323.9
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#912E9B
secondary
#71BC69
accent
#DE4A58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #912E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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