#912E82#912E82

#912E82 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.9% C 0.164 H 334.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#912E82
RGBrgb(145, 46, 130)
HSLhsl(309, 52%, 37%)
HSVhsv(309, 68%, 57%)
CMYKcmyk(0%, 68.3%, 10.3%, 43.1%)
CIE-LABlab(37.09, 51.12, -25.98)
CIE-LCHlch(37.09, 57.34, 333.06°)
OKLaboklab(47.92% 0.1484 -0.0709)
OKLCHoklch(47.92% 0.164 334.5)
XYZxyz(16.6835, 9.5868, 22.0865)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E82 #2E913D
analogous
#6F2E91 #912E82 #912E51
triadic
#912E82 #82912E #2E8291
tetradic
#912E82 #916F2E #2E913D #2E5191
square
#912E82 #916F2E #2E913D #2E5191
split-complementary
#912E82 #51912E #2E916F
monochromatic
#34112F #631F58 #912E82 #BF3DAC #D06AC0

Accessibility & contrast

On white

7.20
#912E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#912E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912E82
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E82#FFFFFF#000000##FFFFFF
##912E821.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E84
Deuteranopia (green-blind)
#4E5D80
Tritanopia (blue-blind)
#983554
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #912e82;
/* rgb */ color: rgb(145, 46, 130);
/* oklch */ color: oklch(47.9% 0.164 334.5);
Tailwind
colors: {
  custom: {
    50: '#b46fa6',
    500: '#912e82',
    950: '#000000',
  },
}
SCSS
$custom: #912e82;
$custom-light: #b46fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#912e82",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 309.091,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.16448,
    "h": 334.5
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#912E82
secondary
#64B771
accent
#DB624D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #912E82

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

Preview Lab → · Contrast checker → · Palette generator →

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