#912E8B#912E8B

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

Color values

HEX#912E8B
RGBrgb(145, 46, 139)
HSLhsl(304, 52%, 37%)
HSVhsv(304, 68%, 57%)
CMYKcmyk(0%, 68.3%, 4.1%, 43.1%)
CIE-LABlab(37.55, 52.61, -30.80)
CIE-LCHlch(37.55, 60.96, 329.65°)
OKLaboklab(48.41% 0.1493 -0.0848)
OKLCHoklch(48.41% 0.172 330.4)
XYZxyz(17.3142, 9.8391, 25.4083)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E8B #2E9134
analogous
#652E91 #912E8B #912E5A
triadic
#912E8B #8B912E #2E8B91
tetradic
#912E8B #91652E #2E9134 #2E5A91
square
#912E8B #91652E #2E9134 #2E5A91
split-complementary
#912E8B #5A912E #2E9165
monochromatic
#341132 #631F5E #912E8B #BF3DB8 #D06AC9

Accessibility & contrast

On white

7.08
#912E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#912E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912E8B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E8B#FFFFFF#000000##FFFFFF
##912E8B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#4A5D88
Tritanopia (blue-blind)
#973958
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912e8b;
/* rgb */ color: rgb(145, 46, 139);
/* oklch */ color: oklch(48.4% 0.172 330.4);
Tailwind
colors: {
  custom: {
    50: '#b46fad',
    500: '#912e8b',
    950: '#000000',
  },
}
SCSS
$custom: #912e8b;
$custom-light: #b46fad;
$custom-dark: #000000;
JSON
{
  "hex": "#912e8b",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 303.636,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48409,
    "c": 0.17165,
    "h": 330.4
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#912E8B
secondary
#64B769
accent
#DB554D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #912E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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