#772CB7#772CB7

#772CB7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.205 H 303.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#772CB7
RGBrgb(119, 44, 183)
HSLhsl(272, 61%, 45%)
HSVhsv(272, 76%, 72%)
CMYKcmyk(35%, 76%, 0%, 28.2%)
CIE-LABlab(36.26, 56.77, -59.60)
CIE-LCHlch(36.26, 82.31, 313.61°)
OKLaboklab(47.61% 0.1143 -0.1698)
OKLCHoklch(47.61% 0.205 303.9)
XYZxyz(17.0537, 9.1422, 45.6568)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CB7 #6CB72C
analogous
#322CB7 #772CB7 #B72CB2
triadic
#772CB7 #B7772C #2CB777
tetradic
#772CB7 #B7322C #6CB72C #2CB2B7
square
#772CB7 #B7322C #6CB72C #2CB2B7
split-complementary
#772CB7 #B2B72C #2CB732
monochromatic
#371454 #572086 #772CB7 #954CD4 #B37EE0

Accessibility & contrast

On white

7.42
#772CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#772CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CB7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CB7#FFFFFF#000000##FFFFFF
##772CB71.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772cb7;
/* rgb */ color: rgb(119, 44, 183);
/* oklch */ color: oklch(47.6% 0.205 303.9);
Tailwind
colors: {
  custom: {
    50: '#a46dce',
    500: '#772cb7',
    950: '#000000',
  },
}
SCSS
$custom: #772cb7;
$custom-light: #a46dce;
$custom-dark: #000000;
JSON
{
  "hex": "#772cb7",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 272.374,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4761,
    "c": 0.20471,
    "h": 303.9
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#772CB7
secondary
#9CC876
accent
#E4438E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #772CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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