#772FAB#772FAB

#772FAB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.189 H 307.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#772FAB
RGBrgb(119, 47, 171)
HSLhsl(275, 57%, 43%)
HSVhsv(275, 73%, 67%)
CMYKcmyk(30.4%, 72.5%, 0%, 32.9%)
CIE-LABlab(35.78, 52.73, -53.24)
CIE-LCHlch(35.78, 74.93, 314.72°)
OKLaboklab(46.99% 0.1138 -0.1511)
OKLCHoklch(46.99% 0.189 307)
XYZxyz(15.9734, 8.8954, 39.3957)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FAB #63AB2F
analogous
#392FAB #772FAB #AB2FA1
triadic
#772FAB #AB772F #2FAB77
tetradic
#772FAB #AB392F #63AB2F #2FA1AB
square
#772FAB #AB392F #63AB2F #2FA1AB
split-complementary
#772FAB #A1AB2F #2FAB39
monochromatic
#34154B #56227B #772FAB #964ACD #B27ADA

Accessibility & contrast

On white

7.56
#772FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#772FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FAB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FAB#FFFFFF#000000##FFFFFF
##772FAB1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#6E4C6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772fab;
/* rgb */ color: rgb(119, 47, 171);
/* oklch */ color: oklch(47.0% 0.189 307.0);
Tailwind
colors: {
  custom: {
    50: '#a36ec5',
    500: '#772fab',
    950: '#000000',
  },
}
SCSS
$custom: #772fab;
$custom-light: #a36ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#772fab",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 274.839,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46987,
    "c": 0.18922,
    "h": 307
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#772FAB
secondary
#94C373
accent
#E04888
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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