#772F97#772F97

#772F97 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.169 H 313.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#772F97
RGBrgb(119, 47, 151)
HSLhsl(282, 53%, 39%)
HSVhsv(282, 69%, 59%)
CMYKcmyk(21.2%, 68.9%, 0%, 40.8%)
CIE-LABlab(34.38, 48.23, -43.44)
CIE-LCHlch(34.38, 64.91, 317.99°)
OKLaboklab(45.54% 0.1163 -0.1224)
OKLCHoklch(45.54% 0.169 313.5)
XYZxyz(14.2092, 8.1898, 30.1044)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F97 #4F972F
analogous
#432F97 #772F97 #972F83
triadic
#772F97 #97772F #2F9777
tetradic
#772F97 #97432F #4F972F #2F8397
square
#772F97 #97432F #4F972F #2F8397
split-complementary
#772F97 #83972F #2F9743
monochromatic
#2D123A #522068 #772F97 #9B40C3 #B36ED2

Accessibility & contrast

On white

7.96
#772F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#772F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F97
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F97#FFFFFF#000000##FFFFFF
##772F971.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#285395
Tritanopia (blue-blind)
#74445F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772f97;
/* rgb */ color: rgb(119, 47, 151);
/* oklch */ color: oklch(45.5% 0.169 313.5);
Tailwind
colors: {
  custom: {
    50: '#a26db6',
    500: '#772f97',
    950: '#000000',
  },
}
SCSS
$custom: #772f97;
$custom-light: #a26db6;
$custom-dark: #000000;
JSON
{
  "hex": "#772f97",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 281.538,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.16883,
    "h": 313.5
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#772F97
secondary
#81B968
accent
#DC4C78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772F97

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

Preview Lab → · Contrast checker → · Palette generator →

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