#772DB4#772DB4

#772DB4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.201 H 304.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#772DB4
RGBrgb(119, 45, 180)
HSLhsl(273, 60%, 44%)
HSVhsv(273, 75%, 71%)
CMYKcmyk(33.9%, 75%, 0%, 29.4%)
CIE-LABlab(36.16, 55.66, -57.97)
CIE-LCHlch(36.16, 80.36, 313.83°)
OKLaboklab(47.47% 0.1141 -0.165)
OKLCHoklch(47.47% 0.201 304.6)
XYZxyz(16.7825, 9.0941, 44.0424)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DB4 #6AB42D
analogous
#342DB4 #772DB4 #B42DAE
triadic
#772DB4 #B4772D #2DB477
tetradic
#772DB4 #B4342D #6AB42D #2DAEB4
square
#772DB4 #B4342D #6AB42D #2DAEB4
split-complementary
#772DB4 #AEB42D #2DB434
monochromatic
#361552 #572183 #772DB4 #964CD2 #B27DDE

Accessibility & contrast

On white

7.45
#772DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#772DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DB4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DB4#FFFFFF#000000##FFFFFF
##772DB41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#6B4F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772db4;
/* rgb */ color: rgb(119, 45, 180);
/* oklch */ color: oklch(47.5% 0.201 304.6);
Tailwind
colors: {
  custom: {
    50: '#a46ecb',
    500: '#772db4',
    950: '#000000',
  },
}
SCSS
$custom: #772db4;
$custom-light: #a46ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#772db4",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 272.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.20063,
    "h": 304.6
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#772DB4
secondary
#9AC776
accent
#E3458C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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