#772CBA#772CBA

#772CBA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.208 H 303.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#772CBA
RGBrgb(119, 44, 186)
HSLhsl(272, 62%, 45%)
HSVhsv(272, 76%, 73%)
CMYKcmyk(36%, 76.3%, 0%, 27.1%)
CIE-LABlab(36.50, 57.46, -60.98)
CIE-LCHlch(36.50, 83.79, 313.30°)
OKLaboklab(47.85% 0.1136 -0.1739)
OKLCHoklch(47.85% 0.208 303.2)
XYZxyz(17.3693, 9.2685, 47.3188)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CBA #6FBA2C
analogous
#302CBA #772CBA #BA2CB6
triadic
#772CBA #BA772C #2CBA77
tetradic
#772CBA #BA302C #6FBA2C #2CB6BA
square
#772CBA #BA302C #6FBA2C #2CB6BA
split-complementary
#772CBA #B6BA2C #2CBA30
monochromatic
#381557 #572089 #772CBA #954ED5 #B380E1

Accessibility & contrast

On white

7.36
#772CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#772CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CBA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CBA#FFFFFF#000000##FFFFFF
##772CBA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#695172
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772cba;
/* rgb */ color: rgb(119, 44, 186);
/* oklch */ color: oklch(47.9% 0.208 303.2);
Tailwind
colors: {
  custom: {
    50: '#a46dd0',
    500: '#772cba',
    950: '#000000',
  },
}
SCSS
$custom: #772cba;
$custom-light: #a46dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#772cba",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 271.69,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47853,
    "c": 0.20771,
    "h": 303.2
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#772CBA
secondary
#9FCA78
accent
#E5438F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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