#772F94#772F94

#772F94 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.166 H 314.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#772F94
RGBrgb(119, 47, 148)
HSLhsl(283, 52%, 38%)
HSVhsv(283, 68%, 58%)
CMYKcmyk(19.6%, 68.2%, 0%, 42%)
CIE-LABlab(34.18, 47.58, -41.93)
CIE-LCHlch(34.18, 63.42, 318.61°)
OKLaboklab(45.33% 0.1165 -0.1179)
OKLCHoklch(45.33% 0.166 314.7)
XYZxyz(13.9687, 8.0936, 28.8376)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F94 #4C942F
analogous
#442F94 #772F94 #942F7E
triadic
#772F94 #94772F #2F9477
tetradic
#772F94 #94442F #4C942F #2F7E94
square
#772F94 #94442F #4C942F #2F7E94
split-complementary
#772F94 #7E942F #2F9444
monochromatic
#2C1137 #522066 #772F94 #9C3EC2 #B46DD1

Accessibility & contrast

On white

8.02
#772F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772F94
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F94#FFFFFF#000000##FFFFFF
##772F941.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#2C5292
Tritanopia (blue-blind)
#75435D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772f94;
/* rgb */ color: rgb(119, 47, 148);
/* oklch */ color: oklch(45.3% 0.166 314.7);
Tailwind
colors: {
  custom: {
    50: '#a16db4',
    500: '#772f94',
    950: '#000000',
  },
}
SCSS
$custom: #772f94;
$custom-light: #a16db4;
$custom-dark: #000000;
JSON
{
  "hex": "#772f94",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 282.772,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.16578,
    "h": 314.7
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#772F94
secondary
#7EB867
accent
#DB4D76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772F94

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

Preview Lab → · Contrast checker → · Palette generator →

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