#912896#912896

#912896 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.188 H 326.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#912896
RGBrgb(145, 40, 150)
HSLhsl(297, 58%, 37%)
HSVhsv(297, 73%, 59%)
CMYKcmyk(3.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(37.37, 56.76, -37.81)
CIE-LCHlch(37.37, 68.20, 326.33°)
OKLaboklab(48.48% 0.1559 -0.1051)
OKLCHoklch(48.48% 0.188 326)
XYZxyz(17.9405, 9.7405, 29.7834)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912896 #2D9628
analogous
#5A2896 #912896 #962864
triadic
#912896 #969128 #289691
tetradic
#912896 #965A28 #2D9628 #286496
square
#912896 #965A28 #2D9628 #286496
split-complementary
#912896 #649628 #28965A
monochromatic
#340E35 #621B66 #912896 #C035C6 #D063D5

Accessibility & contrast

On white

7.12
#912896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#912896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912896
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912896#FFFFFF#000000##FFFFFF
##9128961.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5099
Deuteranopia (green-blind)
#415C93
Tritanopia (blue-blind)
#953A5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912896;
/* rgb */ color: rgb(145, 40, 150);
/* oklch */ color: oklch(48.5% 0.188 326.0);
Tailwind
colors: {
  custom: {
    50: '#b56db5',
    500: '#912896',
    950: '#000000',
  },
}
SCSS
$custom: #912896;
$custom-light: #b56db5;
$custom-dark: #000000;
JSON
{
  "hex": "#912896",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 297.273,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.18798,
    "h": 326
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#912896
secondary
#63BB5F
accent
#E1474E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912896

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

Preview Lab → · Contrast checker → · Palette generator →

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