#772AAF#772AAF

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

Color values

HEX#772AAF
RGBrgb(119, 42, 175)
HSLhsl(275, 61%, 43%)
HSVhsv(275, 76%, 69%)
CMYKcmyk(32%, 76%, 0%, 31.4%)
CIE-LABlab(35.35, 55.74, -56.33)
CIE-LCHlch(35.35, 79.24, 314.70°)
OKLaboklab(46.78% 0.1179 -0.1602)
OKLCHoklch(46.78% 0.199 306.3)
XYZxyz(16.1719, 8.6732, 41.3713)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AAF #62AF2A
analogous
#352AAF #772AAF #AF2AA4
triadic
#772AAF #AF772A #2AAF77
tetradic
#772AAF #AF352A #62AF2A #2AA4AF
square
#772AAF #AF352A #62AF2A #2AA4AF
split-complementary
#772AAF #A4AF2A #2AAF35
monochromatic
#34124C #551E7E #772AAF #9644D2 #B275DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772AAF#FFFFFF#000000##FFFFFF
##772AAF1.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)
#0051B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#6D4B6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772aaf;
/* rgb */ color: rgb(119, 42, 175);
/* oklch */ color: oklch(46.8% 0.199 306.3);
Tailwind
colors: {
  custom: {
    50: '#a36cc8',
    500: '#772aaf',
    950: '#000000',
  },
}
SCSS
$custom: #772aaf;
$custom-light: #a36cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#772aaf",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 274.737,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.19889,
    "h": 306.3
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#772AAF
secondary
#94C66F
accent
#E44387
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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