#772186#772186

#772186 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.170 H 321.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#772186
RGBrgb(119, 33, 134)
HSLhsl(291, 60%, 33%)
HSVhsv(291, 75%, 53%)
CMYKcmyk(11.2%, 75.4%, 0%, 47.5%)
CIE-LABlab(31.19, 50.56, -38.09)
CIE-LCHlch(31.19, 63.30, 323.01°)
OKLaboklab(42.9% 0.1328 -0.1066)
OKLCHoklch(42.9% 0.17 321.2)
XYZxyz(12.4542, 6.7316, 23.1930)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772186 #308621
analogous
#442186 #772186 #862162
triadic
#772186 #867721 #218677
tetradic
#772186 #864421 #308621 #216286
square
#772186 #864421 #308621 #216286
split-complementary
#772186 #628621 #218644
monochromatic
#200924 #4B1555 #772186 #A32DB7 #C04ED3

Accessibility & contrast

On white

8.95
#772186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#772186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772186
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772186#FFFFFF#000000##FFFFFF
##7721861.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2D4C84
Tritanopia (blue-blind)
#783452
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772186;
/* rgb */ color: rgb(119, 33, 134);
/* oklch */ color: oklch(42.9% 0.170 321.2);
Tailwind
colors: {
  custom: {
    50: '#a266aa',
    500: '#772186',
    950: '#000000',
  },
}
SCSS
$custom: #772186;
$custom-light: #a266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#772186",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 291.089,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.17025,
    "h": 321.2
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#772186
secondary
#5CB74C
accent
#E4445C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #772186

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

Preview Lab → · Contrast checker → · Palette generator →

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