#772DB6#772DB6

#772DB6 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.203 H 304.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#772DB6
RGBrgb(119, 45, 182)
HSLhsl(272, 60%, 45%)
HSVhsv(272, 75%, 71%)
CMYKcmyk(34.6%, 75.3%, 0%, 28.6%)
CIE-LABlab(36.32, 56.12, -58.90)
CIE-LCHlch(36.32, 81.36, 313.62°)
OKLaboklab(47.63% 0.1136 -0.1678)
OKLCHoklch(47.63% 0.203 304.1)
XYZxyz(16.9877, 9.1762, 45.1231)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DB6 #6CB62D
analogous
#332DB6 #772DB6 #B62DB0
triadic
#772DB6 #B6772D #2DB677
tetradic
#772DB6 #B6332D #6CB62D #2DB0B6
square
#772DB6 #B6332D #6CB62D #2DB0B6
split-complementary
#772DB6 #B0B62D #2DB633
monochromatic
#371554 #572185 #772DB6 #954DD3 #B37EDF

Accessibility & contrast

On white

7.41
#772DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772DB6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DB6#FFFFFF#000000##FFFFFF
##772DB61.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#6B4F70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772db6;
/* rgb */ color: rgb(119, 45, 182);
/* oklch */ color: oklch(47.6% 0.203 304.1);
Tailwind
colors: {
  custom: {
    50: '#a46ecd',
    500: '#772db6',
    950: '#000000',
  },
}
SCSS
$custom: #772db6;
$custom-light: #a46ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#772db6",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 272.409,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47631,
    "c": 0.20264,
    "h": 304.1
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#772DB6
secondary
#9CC877
accent
#E3448E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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