#772F95#772F95

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

Color values

HEX#772F95
RGBrgb(119, 47, 149)
HSLhsl(282, 52%, 38%)
HSVhsv(282, 68%, 58%)
CMYKcmyk(20.1%, 68.5%, 0%, 41.6%)
CIE-LABlab(34.24, 47.80, -42.43)
CIE-LCHlch(34.24, 63.91, 318.40°)
OKLaboklab(45.4% 0.1165 -0.1194)
OKLCHoklch(45.4% 0.167 314.3)
XYZxyz(14.0482, 8.1254, 29.2563)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F95 #4D952F
analogous
#442F95 #772F95 #952F80
triadic
#772F95 #95772F #2F9577
tetradic
#772F95 #95442F #4D952F #2F8095
square
#772F95 #95442F #4D952F #2F8095
split-complementary
#772F95 #80952F #2F9544
monochromatic
#2D1238 #522066 #772F95 #9C3FC2 #B46DD1

Accessibility & contrast

On white

8.00
#772F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#772F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F95
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F95#FFFFFF#000000##FFFFFF
##772F951.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#2B5293
Tritanopia (blue-blind)
#74435E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772f95;
/* rgb */ color: rgb(119, 47, 149);
/* oklch */ color: oklch(45.4% 0.167 314.3);
Tailwind
colors: {
  custom: {
    50: '#a26db5',
    500: '#772f95',
    950: '#000000',
  },
}
SCSS
$custom: #772f95;
$custom-light: #a26db5;
$custom-dark: #000000;
JSON
{
  "hex": "#772f95",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 282.353,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.454,
    "c": 0.1668,
    "h": 314.3
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#772F95
secondary
#7FB867
accent
#DB4C76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772F95

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

Preview Lab → · Contrast checker → · Palette generator →

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