#772B98#772B98

#772B98 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.175 H 313.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#772B98
RGBrgb(119, 43, 152)
HSLhsl(282, 56%, 38%)
HSVhsv(282, 72%, 60%)
CMYKcmyk(21.7%, 71.7%, 0%, 40.4%)
CIE-LABlab(33.81, 50.23, -44.96)
CIE-LCHlch(33.81, 67.41, 318.17°)
OKLaboklab(45.15% 0.1207 -0.1268)
OKLCHoklch(45.15% 0.175 313.6)
XYZxyz(14.1381, 7.9171, 30.4831)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B98 #4C982B
analogous
#412B98 #772B98 #982B82
triadic
#772B98 #98772B #2B9877
tetradic
#772B98 #98412B #4C982B #2B8298
square
#772B98 #98412B #4C982B #2B8298
split-complementary
#772B98 #82982B #2B9841
monochromatic
#2C1039 #521E68 #772B98 #9C39C7 #B469D5

Accessibility & contrast

On white

8.13
#772B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#772B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B98
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B98#FFFFFF#000000##FFFFFF
##772B981.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#235196
Tritanopia (blue-blind)
#74425E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772b98;
/* rgb */ color: rgb(119, 43, 152);
/* oklch */ color: oklch(45.2% 0.175 313.6);
Tailwind
colors: {
  custom: {
    50: '#a26bb7',
    500: '#772b98',
    950: '#000000',
  },
}
SCSS
$custom: #772b98;
$custom-light: #a26bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#772b98",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 281.835,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.17503,
    "h": 313.6
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#772B98
secondary
#7EBB64
accent
#DF4976
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772B98

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

Preview Lab → · Contrast checker → · Palette generator →

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