#772887#772887

#772887 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.163 H 320.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#772887
RGBrgb(119, 40, 135)
HSLhsl(290, 54%, 34%)
HSVhsv(290, 70%, 53%)
CMYKcmyk(11.9%, 70.4%, 0%, 47.1%)
CIE-LABlab(32.23, 47.97, -37.03)
CIE-LCHlch(32.23, 60.61, 322.33°)
OKLaboklab(43.67% 0.1253 -0.1036)
OKLCHoklch(43.67% 0.163 320.4)
XYZxyz(12.7392, 7.1894, 23.6337)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772887 #388728
analogous
#482887 #772887 #872868
triadic
#772887 #877728 #288777
tetradic
#772887 #874828 #388728 #286887
square
#772887 #874828 #388728 #286887
split-complementary
#772887 #688728 #288748
monochromatic
#240C29 #4D1A58 #772887 #A136B6 #BB5BCE

Accessibility & contrast

On white

8.61
#772887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#772887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772887
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772887#FFFFFF#000000##FFFFFF
##7728871.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03468A
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#783954
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772887;
/* rgb */ color: rgb(119, 40, 135);
/* oklch */ color: oklch(43.7% 0.163 320.4);
Tailwind
colors: {
  custom: {
    50: '#a169aa',
    500: '#772887',
    950: '#000000',
  },
}
SCSS
$custom: #772887;
$custom-light: #a169aa;
$custom-dark: #000000;
JSON
{
  "hex": "#772887",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 289.895,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.16252,
    "h": 320.4
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#772887
secondary
#67B457
accent
#DE4A63
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772887

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

Preview Lab → · Contrast checker → · Palette generator →

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