#912299#912299

#912299 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.197 H 325.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#912299
RGBrgb(145, 34, 153)
HSLhsl(296, 64%, 37%)
HSVhsv(296, 78%, 60%)
CMYKcmyk(5.2%, 77.8%, 0%, 40%)
CIE-LABlab(36.86, 59.26, -40.44)
CIE-LCHlch(36.86, 71.74, 325.69°)
OKLaboklab(48.17% 0.1612 -0.1127)
OKLCHoklch(48.17% 0.197 325.1)
XYZxyz(17.9984, 9.4649, 31.0097)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912299 #2A9922
analogous
#562299 #912299 #992266
triadic
#912299 #999122 #229991
tetradic
#912299 #995622 #2A9922 #226699
square
#912299 #995622 #2A9922 #226699
split-complementary
#912299 #669922 #229956
monochromatic
#320C35 #621767 #912299 #C02DCB #D25BDB

Accessibility & contrast

On white

7.26
#912299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#912299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912299
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912299#FFFFFF#000000##FFFFFF
##9122991.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#94385D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #912299;
/* rgb */ color: rgb(145, 34, 153);
/* oklch */ color: oklch(48.2% 0.197 325.1);
Tailwind
colors: {
  custom: {
    50: '#b56bb7',
    500: '#912299',
    950: '#000000',
  },
}
SCSS
$custom: #912299;
$custom-light: #b56bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#912299",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 295.966,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48174,
    "c": 0.19672,
    "h": 325.1
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#912299
secondary
#5FBF58
accent
#E7414C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #912299

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

Preview Lab → · Contrast checker → · Palette generator →

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