#772BB4#772BB4

#772BB4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.203 H 304.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#772BB4
RGBrgb(119, 43, 180)
HSLhsl(273, 61%, 44%)
HSVhsv(273, 76%, 71%)
CMYKcmyk(33.9%, 76.1%, 0%, 29.4%)
CIE-LABlab(35.88, 56.48, -58.44)
CIE-LCHlch(35.88, 81.27, 314.02°)
OKLaboklab(47.27% 0.1159 -0.1664)
OKLCHoklch(47.27% 0.203 304.9)
XYZxyz(16.7080, 8.9451, 44.0175)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BB4 #68B42B
analogous
#332BB4 #772BB4 #B42BAC
triadic
#772BB4 #B4772B #2BB477
tetradic
#772BB4 #B4332B #68B42B #2BACB4
square
#772BB4 #B4332B #68B42B #2BACB4
split-complementary
#772BB4 #ACB42B #2BB433
monochromatic
#361351 #561F83 #772BB4 #9649D3 #B27ADF

Accessibility & contrast

On white

7.53
#772BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#772BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BB4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BB4#FFFFFF#000000##FFFFFF
##772BB41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#6B4E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772bb4;
/* rgb */ color: rgb(119, 43, 180);
/* oklch */ color: oklch(47.3% 0.203 304.9);
Tailwind
colors: {
  custom: {
    50: '#a46dcb',
    500: '#772bb4',
    950: '#000000',
  },
}
SCSS
$custom: #772bb4;
$custom-light: #a46dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#772bb4",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 273.285,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4727,
    "c": 0.20277,
    "h": 304.9
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#772BB4
secondary
#99C773
accent
#E5438B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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