#912899#912899

#912899 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.190 H 324.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#912899
RGBrgb(145, 40, 153)
HSLhsl(296, 59%, 38%)
HSVhsv(296, 74%, 60%)
CMYKcmyk(5.2%, 73.9%, 0%, 40%)
CIE-LABlab(37.55, 57.29, -39.34)
CIE-LCHlch(37.55, 69.50, 325.52°)
OKLaboklab(48.66% 0.1558 -0.1095)
OKLCHoklch(48.66% 0.19 324.9)
XYZxyz(18.1852, 9.8384, 31.0720)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912899 #309928
analogous
#582899 #912899 #992868
triadic
#912899 #999128 #289991
tetradic
#912899 #995828 #309928 #286899
square
#912899 #995828 #309928 #286899
split-complementary
#912899 #689928 #289958
monochromatic
#350F38 #631B68 #912899 #BF35CA #CF65D7

Accessibility & contrast

On white

7.08
#912899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#912899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912899
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912899#FFFFFF#000000##FFFFFF
##9128991.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#943C5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912899;
/* rgb */ color: rgb(145, 40, 153);
/* oklch */ color: oklch(48.7% 0.190 324.9);
Tailwind
colors: {
  custom: {
    50: '#b56db7',
    500: '#912899',
    950: '#000000',
  },
}
SCSS
$custom: #912899;
$custom-light: #b56db7;
$custom-dark: #000000;
JSON
{
  "hex": "#912899",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 295.752,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48663,
    "c": 0.19045,
    "h": 324.9
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#912899
secondary
#67BD60
accent
#E24651
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912899

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

Preview Lab → · Contrast checker → · Palette generator →

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