#772BB1#772BB1

#772BB1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.200 H 305.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#772BB1
RGBrgb(119, 43, 177)
HSLhsl(274, 61%, 43%)
HSVhsv(274, 76%, 69%)
CMYKcmyk(32.8%, 75.7%, 0%, 30.6%)
CIE-LABlab(35.64, 55.79, -57.04)
CIE-LCHlch(35.64, 79.79, 314.37°)
OKLaboklab(47.03% 0.1165 -0.1623)
OKLCHoklch(47.03% 0.2 305.7)
XYZxyz(16.4057, 8.8241, 42.4254)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BB1 #65B12B
analogous
#342BB1 #772BB1 #B12BA8
triadic
#772BB1 #B1772B #2BB177
tetradic
#772BB1 #B1342B #65B12B #2BA8B1
square
#772BB1 #B1342B #65B12B #2BA8B1
split-complementary
#772BB1 #A8B12B #2BB134
monochromatic
#35134F #561F80 #772BB1 #9647D2 #B278DE

Accessibility & contrast

On white

7.60
#772BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#772BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BB1
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BB1#FFFFFF#000000##FFFFFF
##772BB11.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#6C4C6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772bb1;
/* rgb */ color: rgb(119, 43, 177);
/* oklch */ color: oklch(47.0% 0.200 305.7);
Tailwind
colors: {
  custom: {
    50: '#a46cc9',
    500: '#772bb1',
    950: '#000000',
  },
}
SCSS
$custom: #772bb1;
$custom-light: #a46cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#772bb1",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 274.03,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47032,
    "c": 0.19979,
    "h": 305.7
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#772BB1
secondary
#96C672
accent
#E44489
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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