#772AB7#772AB7

#772AB7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.207 H 304.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#772AB7
RGBrgb(119, 42, 183)
HSLhsl(273, 63%, 44%)
HSVhsv(273, 77%, 72%)
CMYKcmyk(35%, 77%, 0%, 28.2%)
CIE-LABlab(35.98, 57.56, -60.05)
CIE-LCHlch(35.98, 83.19, 313.79°)
OKLaboklab(47.42% 0.116 -0.1711)
OKLCHoklch(47.42% 0.207 304.1)
XYZxyz(16.9810, 8.9968, 45.6325)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AB7 #6AB72A
analogous
#312AB7 #772AB7 #B72AB1
triadic
#772AB7 #B7772A #2AB777
tetradic
#772AB7 #B7312A #6AB72A #2AB1B7
square
#772AB7 #B7312A #6AB72A #2AB1B7
split-complementary
#772AB7 #B1B72A #2AB731
monochromatic
#361353 #571F85 #772AB7 #9649D5 #B27BE1

Accessibility & contrast

On white

7.50
#772AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#772AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AB7
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AB7#FFFFFF#000000##FFFFFF
##772AB71.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772ab7;
/* rgb */ color: rgb(119, 42, 183);
/* oklch */ color: oklch(47.4% 0.207 304.1);
Tailwind
colors: {
  custom: {
    50: '#a46cce',
    500: '#772ab7',
    950: '#000000',
  },
}
SCSS
$custom: #772ab7;
$custom-light: #a46cce;
$custom-dark: #000000;
JSON
{
  "hex": "#772ab7",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 272.766,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.20677,
    "h": 304.1
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#772AB7
secondary
#9AC974
accent
#E6428C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #772AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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