#772DB7#772DB7

#772DB7 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.204 H 303.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#772DB7
RGBrgb(119, 45, 183)
HSLhsl(272, 61%, 45%)
HSVhsv(272, 75%, 72%)
CMYKcmyk(35%, 75.4%, 0%, 28.2%)
CIE-LABlab(36.40, 56.36, -59.37)
CIE-LCHlch(36.40, 81.85, 313.51°)
OKLaboklab(47.71% 0.1134 -0.1691)
OKLCHoklch(47.71% 0.204 303.8)
XYZxyz(17.0914, 9.2176, 45.6693)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DB7 #6DB72D
analogous
#322DB7 #772DB7 #B72DB2
triadic
#772DB7 #B7772D #2DB777
tetradic
#772DB7 #B7322D #6DB72D #2DB2B7
square
#772DB7 #B7322D #6DB72D #2DB2B7
split-complementary
#772DB7 #B2B72D #2DB732
monochromatic
#371555 #572186 #772DB7 #954ED3 #B37FDF

Accessibility & contrast

On white

7.39
#772DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#772DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DB7
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DB7#FFFFFF#000000##FFFFFF
##772DB71.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#6A5070
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772db7;
/* rgb */ color: rgb(119, 45, 183);
/* oklch */ color: oklch(47.7% 0.204 303.8);
Tailwind
colors: {
  custom: {
    50: '#a46ece',
    500: '#772db7',
    950: '#000000',
  },
}
SCSS
$custom: #772db7;
$custom-light: #a46ece;
$custom-dark: #000000;
JSON
{
  "hex": "#772db7",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 272.174,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.20365,
    "h": 303.8
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#772DB7
secondary
#9DC878
accent
#E4448E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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