#772A9C#772A9C

#772A9C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.180 H 312.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#772A9C
RGBrgb(119, 42, 156)
HSLhsl(281, 58%, 39%)
HSVhsv(281, 73%, 61%)
CMYKcmyk(23.7%, 73.1%, 0%, 38.8%)
CIE-LABlab(33.94, 51.52, -47.18)
CIE-LCHlch(33.94, 69.86, 317.51°)
OKLaboklab(45.33% 0.1212 -0.1333)
OKLCHoklch(45.33% 0.18 312.3)
XYZxyz(14.4354, 7.9786, 32.2256)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A9C #4F9C2A
analogous
#3E2A9C #772A9C #9C2A88
triadic
#772A9C #9C772A #2A9C77
tetradic
#772A9C #9C3E2A #4F9C2A #2A889C
square
#772A9C #9C3E2A #4F9C2A #2A889C
split-complementary
#772A9C #889C2A #2A9C3E
monochromatic
#2D103C #521D6C #772A9C #9B39CA #B36AD7

Accessibility & contrast

On white

8.09
#772A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#772A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A9C
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A9C#FFFFFF#000000##FFFFFF
##772A9C1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#1C519A
Tritanopia (blue-blind)
#734360
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772a9c;
/* rgb */ color: rgb(119, 42, 156);
/* oklch */ color: oklch(45.3% 0.180 312.3);
Tailwind
colors: {
  custom: {
    50: '#a26bba',
    500: '#772a9c',
    950: '#000000',
  },
}
SCSS
$custom: #772a9c;
$custom-light: #a26bba;
$custom-dark: #000000;
JSON
{
  "hex": "#772a9c",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 280.526,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45334,
    "c": 0.1802,
    "h": 312.3
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#772A9C
secondary
#81BD65
accent
#E14779
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772A9C

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

Preview Lab → · Contrast checker → · Palette generator →

#772A9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva