#912784#912784

#912784 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.175 H 333.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#912784
RGBrgb(145, 39, 132)
HSLhsl(307, 58%, 36%)
HSVhsv(307, 73%, 57%)
CMYKcmyk(0%, 73.1%, 9%, 43.1%)
CIE-LABlab(36.25, 54.09, -28.54)
CIE-LCHlch(36.25, 61.16, 332.19°)
OKLaboklab(47.35% 0.1564 -0.0782)
OKLCHoklch(47.35% 0.175 333.4)
XYZxyz(16.5675, 9.1381, 22.7166)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912784 #279134
analogous
#692791 #912784 #91274F
triadic
#912784 #849127 #278491
tetradic
#912784 #916927 #279134 #274F91
square
#912784 #916927 #279134 #274F91
split-complementary
#912784 #4F9127 #279169
monochromatic
#310D2C #611A58 #912784 #C134B0 #D45FC5

Accessibility & contrast

On white

7.43
#912784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#912784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912784
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912784#FFFFFF#000000##FFFFFF
##9127841.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B87
Deuteranopia (green-blind)
#4A5B81
Tritanopia (blue-blind)
#983153
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #912784;
/* rgb */ color: rgb(145, 39, 132);
/* oklch */ color: oklch(47.3% 0.175 333.4);
Tailwind
colors: {
  custom: {
    50: '#b56ca8',
    500: '#912784',
    950: '#000000',
  },
}
SCSS
$custom: #912784;
$custom-light: #b56ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#912784",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 307.358,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47349,
    "c": 0.17486,
    "h": 333.4
  },
  "luminance": 0.09137
}

Semantic roles & 50–950 ramp

primary
#912784
secondary
#5BB966
accent
#E15A47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #912784

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

Preview Lab → · Contrast checker → · Palette generator →

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