#772187#772187

#772187 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.171 H 320.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#772187
RGBrgb(119, 33, 135)
HSLhsl(291, 61%, 33%)
HSVhsv(291, 76%, 53%)
CMYKcmyk(11.9%, 75.6%, 0%, 47.1%)
CIE-LABlab(31.25, 50.76, -38.60)
CIE-LCHlch(31.25, 63.77, 322.75°)
OKLaboklab(42.97% 0.1327 -0.1081)
OKLCHoklch(42.97% 0.171 320.8)
XYZxyz(12.5243, 6.7596, 23.5620)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772187 #318721
analogous
#442187 #772187 #872164
triadic
#772187 #877721 #218777
tetradic
#772187 #874421 #318721 #216487
square
#772187 #874421 #318721 #216487
split-complementary
#772187 #648721 #218744
monochromatic
#200925 #4C1556 #772187 #A22DB8 #BF4FD4

Accessibility & contrast

On white

8.93
#772187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772187
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772187#FFFFFF#000000##FFFFFF
##7721871.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#2C4D85
Tritanopia (blue-blind)
#783552
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772187;
/* rgb */ color: rgb(119, 33, 135);
/* oklch */ color: oklch(43.0% 0.171 320.8);
Tailwind
colors: {
  custom: {
    50: '#a266aa',
    500: '#772187',
    950: '#000000',
  },
}
SCSS
$custom: #772187;
$custom-light: #a266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#772187",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 290.588,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42969,
    "c": 0.17114,
    "h": 320.8
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#772187
secondary
#5DB74D
accent
#E4445D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #772187

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

Preview Lab → · Contrast checker → · Palette generator →

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