#772AB3#772AB3

#772AB3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.203 H 305.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#772AB3
RGBrgb(119, 42, 179)
HSLhsl(274, 62%, 43%)
HSVhsv(274, 77%, 70%)
CMYKcmyk(33.5%, 76.5%, 0%, 29.8%)
CIE-LABlab(35.66, 56.65, -58.20)
CIE-LCHlch(35.66, 81.22, 314.23°)
OKLaboklab(47.09% 0.117 -0.1657)
OKLCHoklch(47.09% 0.203 305.2)
XYZxyz(16.5706, 8.8326, 43.4710)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AB3 #66B32A
analogous
#332AB3 #772AB3 #B32AAA
triadic
#772AB3 #B3772A #2AB377
tetradic
#772AB3 #B3332A #66B32A #2AAAB3
square
#772AB3 #B3332A #66B32A #2AAAB3
split-complementary
#772AB3 #AAB32A #2AB333
monochromatic
#351350 #561E81 #772AB3 #9646D4 #B278DF

Accessibility & contrast

On white

7.59
#772AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#772AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AB3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AB3#FFFFFF#000000##FFFFFF
##772AB31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#6C4D6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772ab3;
/* rgb */ color: rgb(119, 42, 179);
/* oklch */ color: oklch(47.1% 0.203 305.2);
Tailwind
colors: {
  custom: {
    50: '#a46ccb',
    500: '#772ab3',
    950: '#000000',
  },
}
SCSS
$custom: #772ab3;
$custom-light: #a46ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#772ab3",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 273.723,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47092,
    "c": 0.20283,
    "h": 305.2
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#772AB3
secondary
#97C772
accent
#E5438A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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