#912796#912796

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

Color values

HEX#912796
RGBrgb(145, 39, 150)
HSLhsl(297, 59%, 37%)
HSVhsv(297, 74%, 59%)
CMYKcmyk(3.3%, 74%, 0%, 41.2%)
CIE-LABlab(37.25, 57.11, -38.00)
CIE-LCHlch(37.25, 68.60, 326.36°)
OKLaboklab(48.39% 0.1569 -0.1056)
OKLCHoklch(48.39% 0.189 326)
XYZxyz(17.9072, 9.6740, 29.7723)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912796 #2C9627
analogous
#592796 #912796 #962764
triadic
#912796 #969127 #279691
tetradic
#912796 #965927 #2C9627 #276496
square
#912796 #965927 #2C9627 #276496
split-complementary
#912796 #649627 #279659
monochromatic
#330E35 #621A65 #912796 #C034C7 #D161D6

Accessibility & contrast

On white

7.16
#912796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#912796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912796
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912796#FFFFFF#000000##FFFFFF
##9127961.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F99
Deuteranopia (green-blind)
#405C93
Tritanopia (blue-blind)
#953A5C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912796;
/* rgb */ color: rgb(145, 39, 150);
/* oklch */ color: oklch(48.4% 0.189 326.0);
Tailwind
colors: {
  custom: {
    50: '#b56db5',
    500: '#912796',
    950: '#000000',
  },
}
SCSS
$custom: #912796;
$custom-light: #b56db5;
$custom-dark: #000000;
JSON
{
  "hex": "#912796",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 297.297,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.1891,
    "h": 326
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#912796
secondary
#62BC5D
accent
#E2464D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912796

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

Preview Lab → · Contrast checker → · Palette generator →

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