#772CAB#772CAB

#772CAB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.193 H 307.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#772CAB
RGBrgb(119, 44, 171)
HSLhsl(275, 59%, 42%)
HSVhsv(275, 74%, 67%)
CMYKcmyk(30.4%, 74.3%, 0%, 32.9%)
CIE-LABlab(35.33, 54.01, -53.97)
CIE-LCHlch(35.33, 76.35, 315.02°)
OKLaboklab(46.67% 0.1168 -0.1533)
OKLCHoklch(46.67% 0.193 307.3)
XYZxyz(15.8576, 8.6638, 39.3571)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CAB #60AB2C
analogous
#372CAB #772CAB #AB2CA0
triadic
#772CAB #AB772C #2CAB77
tetradic
#772CAB #AB372C #60AB2C #2CA0AB
square
#772CAB #AB372C #60AB2C #2CA0AB
split-complementary
#772CAB #A0AB2C #2CAB37
monochromatic
#33134A #551F7A #772CAB #9745CF #B276DC

Accessibility & contrast

On white

7.68
#772CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#772CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CAB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CAB#FFFFFF#000000##FFFFFF
##772CAB1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#6E4A69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772cab;
/* rgb */ color: rgb(119, 44, 171);
/* oklch */ color: oklch(46.7% 0.193 307.3);
Tailwind
colors: {
  custom: {
    50: '#a36dc5',
    500: '#772cab',
    950: '#000000',
  },
}
SCSS
$custom: #772cab;
$custom-light: #a36dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#772cab",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 275.433,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46666,
    "c": 0.19271,
    "h": 307.3
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#772CAB
secondary
#92C36F
accent
#E24686
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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