#912786#912786

#912786 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.176 H 332.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#912786
RGBrgb(145, 39, 134)
HSLhsl(306, 58%, 36%)
HSVhsv(306, 73%, 57%)
CMYKcmyk(0%, 73.1%, 7.6%, 43.1%)
CIE-LABlab(36.35, 54.41, -29.61)
CIE-LCHlch(36.35, 61.95, 331.45°)
OKLaboklab(47.46% 0.1565 -0.0813)
OKLCHoklch(47.46% 0.176 332.6)
XYZxyz(16.7057, 9.1934, 23.4443)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912786 #279132
analogous
#672791 #912786 #912751
triadic
#912786 #869127 #278691
tetradic
#912786 #916727 #279132 #275191
square
#912786 #916727 #279132 #275191
split-complementary
#912786 #519127 #279167
monochromatic
#310D2D #611A59 #912786 #C134B3 #D45FC8

Accessibility & contrast

On white

7.40
#912786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#912786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912786
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912786#FFFFFF#000000##FFFFFF
##9127861.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#495B83
Tritanopia (blue-blind)
#973254
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #912786;
/* rgb */ color: rgb(145, 39, 134);
/* oklch */ color: oklch(47.5% 0.176 332.6);
Tailwind
colors: {
  custom: {
    50: '#b56ca9',
    500: '#912786',
    950: '#000000',
  },
}
SCSS
$custom: #912786;
$custom-light: #b56ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#912786",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 306.226,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47458,
    "c": 0.17639,
    "h": 332.6
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#912786
secondary
#5BB964
accent
#E15747
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #912786

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

Preview Lab → · Contrast checker → · Palette generator →

#912786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva