#772E97#772E97

#772E97 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.170 H 313.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#772E97
RGBrgb(119, 46, 151)
HSLhsl(282, 53%, 39%)
HSVhsv(282, 70%, 59%)
CMYKcmyk(21.2%, 69.5%, 0%, 40.8%)
CIE-LABlab(34.21, 48.69, -43.70)
CIE-LCHlch(34.21, 65.42, 318.09°)
OKLaboklab(45.42% 0.1175 -0.1231)
OKLCHoklch(45.42% 0.17 313.6)
XYZxyz(14.1697, 8.1107, 30.0913)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E97 #4E972E
analogous
#422E97 #772E97 #972E82
triadic
#772E97 #97772E #2E9777
tetradic
#772E97 #97422E #4E972E #2E8297
square
#772E97 #97422E #4E972E #2E8297
split-complementary
#772E97 #82972E #2E9742
monochromatic
#2D1139 #522068 #772E97 #9B3EC4 #B46DD2

Accessibility & contrast

On white

8.01
#772E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#772E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E97
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E97#FFFFFF#000000##FFFFFF
##772E971.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#74435F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772e97;
/* rgb */ color: rgb(119, 46, 151);
/* oklch */ color: oklch(45.4% 0.170 313.6);
Tailwind
colors: {
  custom: {
    50: '#a26db6',
    500: '#772e97',
    950: '#000000',
  },
}
SCSS
$custom: #772e97;
$custom-light: #a26db6;
$custom-dark: #000000;
JSON
{
  "hex": "#772e97",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 281.714,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.17016,
    "h": 313.6
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#772E97
secondary
#80BA67
accent
#DD4B77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772E97

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

Preview Lab → · Contrast checker → · Palette generator →

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