#912799#912799

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

Color values

HEX#912799
RGBrgb(145, 39, 153)
HSLhsl(296, 59%, 38%)
HSVhsv(296, 75%, 60%)
CMYKcmyk(5.2%, 74.5%, 0%, 40%)
CIE-LABlab(37.43, 57.64, -39.54)
CIE-LCHlch(37.43, 69.89, 325.55°)
OKLaboklab(48.58% 0.1568 -0.1101)
OKLCHoklch(48.58% 0.192 324.9)
XYZxyz(18.1519, 9.7719, 31.0609)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912799 #2F9927
analogous
#582799 #912799 #992768
triadic
#912799 #999127 #279991
tetradic
#912799 #995827 #2F9927 #276899
square
#912799 #995827 #2F9927 #276899
split-complementary
#912799 #689927 #279958
monochromatic
#350E37 #631B68 #912799 #BF33CA #CF63D7

Accessibility & contrast

On white

7.11
#912799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #912799
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912799#FFFFFF#000000##FFFFFF
##9127991.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#943B5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912799;
/* rgb */ color: rgb(145, 39, 153);
/* oklch */ color: oklch(48.6% 0.192 324.9);
Tailwind
colors: {
  custom: {
    50: '#b56db7',
    500: '#912799',
    950: '#000000',
  },
}
SCSS
$custom: #912799;
$custom-light: #b56db7;
$custom-dark: #000000;
JSON
{
  "hex": "#912799",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 295.789,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.19155,
    "h": 324.9
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#912799
secondary
#65BD5F
accent
#E34550
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912799

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

Preview Lab → · Contrast checker → · Palette generator →

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