#772BAD#772BAD

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

Color values

HEX#772BAD
RGBrgb(119, 43, 173)
HSLhsl(275, 60%, 42%)
HSVhsv(275, 75%, 68%)
CMYKcmyk(31.2%, 75.1%, 0%, 32.2%)
CIE-LABlab(35.34, 54.88, -55.16)
CIE-LCHlch(35.34, 77.81, 314.86°)
OKLaboklab(46.72% 0.1174 -0.1568)
OKLCHoklch(46.72% 0.196 306.8)
XYZxyz(16.0128, 8.6670, 40.3564)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BAD #61AD2B
analogous
#362BAD #772BAD #AD2BA2
triadic
#772BAD #AD772B #2BAD77
tetradic
#772BAD #AD362B #61AD2B #2BA2AD
square
#772BAD #AD362B #61AD2B #2BA2AD
split-complementary
#772BAD #A2AD2B #2BAD36
monochromatic
#34134B #551F7C #772BAD #9645D1 #B276DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772BAD#FFFFFF#000000##FFFFFF
##772BAD1.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)
#0051B1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#6E4B6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772bad;
/* rgb */ color: rgb(119, 43, 173);
/* oklch */ color: oklch(46.7% 0.196 306.8);
Tailwind
colors: {
  custom: {
    50: '#a36cc6',
    500: '#772bad',
    950: '#000000',
  },
}
SCSS
$custom: #772bad;
$custom-light: #a36cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#772bad",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 275.077,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46718,
    "c": 0.19582,
    "h": 306.8
  },
  "luminance": 0.08667
}

Semantic roles & 50–950 ramp

primary
#772BAD
secondary
#93C46F
accent
#E34486
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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