#772987#772987

#772987 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.161 H 320.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#772987
RGBrgb(119, 41, 135)
HSLhsl(290, 53%, 35%)
HSVhsv(290, 70%, 53%)
CMYKcmyk(11.9%, 69.6%, 0%, 47.1%)
CIE-LABlab(32.39, 47.55, -36.79)
CIE-LCHlch(32.39, 60.12, 322.27°)
OKLaboklab(43.78% 0.1241 -0.1029)
OKLCHoklch(43.78% 0.161 320.3)
XYZxyz(12.7733, 7.2577, 23.6450)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772987 #398729
analogous
#482987 #772987 #872968
triadic
#772987 #877729 #298777
tetradic
#772987 #874829 #398729 #296887
square
#772987 #874829 #398729 #296887
split-complementary
#772987 #688729 #298748
monochromatic
#240C29 #4E1B58 #772987 #A037B6 #BA5DCE

Accessibility & contrast

On white

8.57
#772987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#772987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772987
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772987#FFFFFF#000000##FFFFFF
##7729871.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#783A55
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772987;
/* rgb */ color: rgb(119, 41, 135);
/* oklch */ color: oklch(43.8% 0.161 320.3);
Tailwind
colors: {
  custom: {
    50: '#a16aaa',
    500: '#772987',
    950: '#000000',
  },
}
SCSS
$custom: #772987;
$custom-light: #a16aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#772987",
  "rgb": {
    "r": 119,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 289.787,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43779,
    "c": 0.16119,
    "h": 320.3
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#772987
secondary
#68B359
accent
#DD4B64
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772987

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

Preview Lab → · Contrast checker → · Palette generator →

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