#772BA8#772BA8

#772BA8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.191 H 308.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#772BA8
RGBrgb(119, 43, 168)
HSLhsl(276, 59%, 41%)
HSVhsv(276, 74%, 66%)
CMYKcmyk(29.2%, 74.4%, 0%, 34.1%)
CIE-LABlab(34.96, 53.75, -52.78)
CIE-LCHlch(34.96, 75.33, 315.52°)
OKLaboklab(46.33% 0.1183 -0.1498)
OKLCHoklch(46.33% 0.191 308.3)
XYZxyz(15.5380, 8.4771, 37.8559)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BA8 #5CA82B
analogous
#392BA8 #772BA8 #A82B9B
triadic
#772BA8 #A8772B #2BA877
tetradic
#772BA8 #A8392B #5CA82B #2B9BA8
square
#772BA8 #A8392B #5CA82B #2B9BA8
split-complementary
#772BA8 #9BA82B #2BA839
monochromatic
#321247 #541F77 #772BA8 #9742CF #B272DB

Accessibility & contrast

On white

7.79
#772BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#772BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BA8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BA8#FFFFFF#000000##FFFFFF
##772BA81.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#6F4967
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772ba8;
/* rgb */ color: rgb(119, 43, 168);
/* oklch */ color: oklch(46.3% 0.191 308.3);
Tailwind
colors: {
  custom: {
    50: '#a36cc3',
    500: '#772ba8',
    950: '#000000',
  },
}
SCSS
$custom: #772ba8;
$custom-light: #a36cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#772ba8",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 276.48,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46332,
    "c": 0.19086,
    "h": 308.3
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

primary
#772BA8
secondary
#8EC26C
accent
#E24583
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #772BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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