#772E95#772E95

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

Color values

HEX#772E95
RGBrgb(119, 46, 149)
HSLhsl(283, 53%, 38%)
HSVhsv(283, 69%, 58%)
CMYKcmyk(20.1%, 69.1%, 0%, 41.6%)
CIE-LABlab(34.08, 48.25, -42.69)
CIE-LCHlch(34.08, 64.43, 318.50°)
OKLaboklab(45.28% 0.1176 -0.1202)
OKLCHoklch(45.28% 0.168 314.4)
XYZxyz(14.0087, 8.0463, 29.2431)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E95 #4C952E
analogous
#432E95 #772E95 #952E7F
triadic
#772E95 #95772E #2E9577
tetradic
#772E95 #95432E #4C952E #2E7F95
square
#772E95 #95432E #4C952E #2E7F95
split-complementary
#772E95 #7F952E #2E9543
monochromatic
#2C1137 #522066 #772E95 #9C3DC3 #B46CD2

Accessibility & contrast

On white

8.05
#772E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#772E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E95
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E95#FFFFFF#000000##FFFFFF
##772E951.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#74435E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772e95;
/* rgb */ color: rgb(119, 46, 149);
/* oklch */ color: oklch(45.3% 0.168 314.4);
Tailwind
colors: {
  custom: {
    50: '#a26db5',
    500: '#772e95',
    950: '#000000',
  },
}
SCSS
$custom: #772e95;
$custom-light: #a26db5;
$custom-dark: #000000;
JSON
{
  "hex": "#772e95",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 282.524,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.16815,
    "h": 314.4
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#772E95
secondary
#7EB966
accent
#DC4C76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772E95

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

Preview Lab → · Contrast checker → · Palette generator →

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