#772AB0#772AB0

#772AB0 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.9% C 0.200 H 306.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#772AB0
RGBrgb(119, 42, 176)
HSLhsl(274, 61%, 43%)
HSVhsv(274, 76%, 69%)
CMYKcmyk(32.4%, 76.1%, 0%, 31%)
CIE-LABlab(35.42, 55.97, -56.80)
CIE-LCHlch(35.42, 79.74, 314.58°)
OKLaboklab(46.85% 0.1177 -0.1616)
OKLCHoklch(46.85% 0.2 306.1)
XYZxyz(16.2705, 8.7126, 41.8904)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AB0 #63B02A
analogous
#342AB0 #772AB0 #B02AA6
triadic
#772AB0 #B0772A #2AB077
tetradic
#772AB0 #B0342A #63B02A #2AA6B0
square
#772AB0 #B0342A #63B02A #2AA6B0
split-complementary
#772AB0 #A6B02A #2AB034
monochromatic
#34124D #561E7F #772AB0 #9645D3 #B276DE

Accessibility & contrast

On white

7.66
#772AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#772AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AB0
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AB0#FFFFFF#000000##FFFFFF
##772AB01.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#6D4B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772ab0;
/* rgb */ color: rgb(119, 42, 176);
/* oklch */ color: oklch(46.9% 0.200 306.1);
Tailwind
colors: {
  custom: {
    50: '#a46cc8',
    500: '#772ab0',
    950: '#000000',
  },
}
SCSS
$custom: #772ab0;
$custom-light: #a46cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#772ab0",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 274.478,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.19987,
    "h": 306.1
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#772AB0
secondary
#94C670
accent
#E54388
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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