#992797#992797

#992797 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.194 H 328.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#992797
RGBrgb(153, 39, 151)
HSLhsl(301, 59%, 38%)
HSVhsv(301, 75%, 60%)
CMYKcmyk(0%, 74.5%, 1.3%, 40%)
CIE-LABlab(38.65, 59.06, -36.29)
CIE-LCHlch(38.65, 69.32, 328.43°)
OKLaboklab(49.67% 0.1657 -0.1004)
OKLCHoklch(49.67% 0.194 328.8)
XYZxyz(19.4481, 10.4592, 30.2667)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#992797 #279929
analogous
#622799 #992797 #99275E
triadic
#992797 #979927 #279799
tetradic
#992797 #996227 #279929 #275E99
square
#992797 #996227 #279929 #275E99
split-complementary
#992797 #5E9927 #279962
monochromatic
#370E37 #681B67 #992797 #CA33C7 #D763D5

Accessibility & contrast

On white

6.79
#992797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#992797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #992797
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##992797#FFFFFF#000000##FFFFFF
##9927971.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#486094
Tritanopia (blue-blind)
#9E385D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #992797;
/* rgb */ color: rgb(153, 39, 151);
/* oklch */ color: oklch(49.7% 0.194 328.8);
Tailwind
colors: {
  custom: {
    50: '#bb6eb6',
    500: '#992797',
    950: '#000000',
  },
}
SCSS
$custom: #992797;
$custom-light: #bb6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#992797",
  "rgb": {
    "r": 153,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 301.053,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.19378,
    "h": 328.8
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#992797
secondary
#5FBD61
accent
#E34845
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #992797

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

Preview Lab → · Contrast checker → · Palette generator →

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