#912E8A#912E8A

#912E8A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.171 H 330.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#912E8A
RGBrgb(145, 46, 138)
HSLhsl(304, 52%, 37%)
HSVhsv(304, 68%, 57%)
CMYKcmyk(0%, 68.3%, 4.8%, 43.1%)
CIE-LABlab(37.50, 52.44, -30.27)
CIE-LCHlch(37.50, 60.55, 330.01°)
OKLaboklab(48.35% 0.1492 -0.0833)
OKLCHoklch(48.35% 0.171 330.8)
XYZxyz(17.2414, 9.8100, 25.0253)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E8A #2E9135
analogous
#662E91 #912E8A #912E59
triadic
#912E8A #8A912E #2E8A91
tetradic
#912E8A #91662E #2E9135 #2E5991
square
#912E8A #91662E #2E9135 #2E5991
split-complementary
#912E8A #59912E #2E9166
monochromatic
#341132 #631F5E #912E8A #BF3DB6 #D06AC8

Accessibility & contrast

On white

7.09
#912E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#912E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912E8A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E8A#FFFFFF#000000##FFFFFF
##912E8A1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#4B5D87
Tritanopia (blue-blind)
#973958
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912e8a;
/* rgb */ color: rgb(145, 46, 138);
/* oklch */ color: oklch(48.4% 0.171 330.8);
Tailwind
colors: {
  custom: {
    50: '#b46fac',
    500: '#912e8a',
    950: '#000000',
  },
}
SCSS
$custom: #912e8a;
$custom-light: #b46fac;
$custom-dark: #000000;
JSON
{
  "hex": "#912e8a",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 304.242,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48353,
    "c": 0.17084,
    "h": 330.8
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#912E8A
secondary
#64B76A
accent
#DB574D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #912E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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