#912E9D#912E9D

#912E9D is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.187 H 323.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#912E9D
RGBrgb(145, 46, 157)
HSLhsl(294, 55%, 40%)
HSVhsv(294, 71%, 62%)
CMYKcmyk(7.6%, 70.7%, 0%, 38.4%)
CIE-LABlab(38.57, 55.81, -40.15)
CIE-LCHlch(38.57, 68.75, 324.27°)
OKLaboklab(49.47% 0.1496 -0.1119)
OKLCHoklch(49.47% 0.187 323.2)
XYZxyz(18.7393, 10.4091, 32.9139)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E9D #3A9D2E
analogous
#5A2E9D #912E9D #9D2E71
triadic
#912E9D #9D912E #2E9D91
tetradic
#912E9D #9D5A2E #3A9D2E #2E719D
square
#912E9D #9D5A2E #3A9D2E #2E719D
split-complementary
#912E9D #719D2E #2E9D5A
monochromatic
#3A123E #65206E #912E9D #B941C7 #CA70D5

Accessibility & contrast

On white

6.81
#912E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#912E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912E9D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E9D#FFFFFF#000000##FFFFFF
##912E9D1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0953A0
Deuteranopia (green-blind)
#405F9A
Tritanopia (blue-blind)
#934162
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912e9d;
/* rgb */ color: rgb(145, 46, 157);
/* oklch */ color: oklch(49.5% 0.187 323.2);
Tailwind
colors: {
  custom: {
    50: '#b570ba',
    500: '#912e9d',
    950: '#000000',
  },
}
SCSS
$custom: #912e9d;
$custom-light: #b570ba;
$custom-dark: #000000;
JSON
{
  "hex": "#912e9d",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 293.514,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49467,
    "c": 0.18684,
    "h": 323.2
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#912E9D
secondary
#73BD6A
accent
#DE4A5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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