#772EB8#772EB8

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

Color values

HEX#772EB8
RGBrgb(119, 46, 184)
HSLhsl(272, 60%, 45%)
HSVhsv(272, 75%, 72%)
CMYKcmyk(35.3%, 75%, 0%, 27.8%)
CIE-LABlab(36.62, 56.17, -59.59)
CIE-LCHlch(36.62, 81.89, 313.31°)
OKLaboklab(47.89% 0.1123 -0.1698)
OKLCHoklch(47.89% 0.204 303.5)
XYZxyz(17.2345, 9.3366, 46.2323)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EB8 #6FB82E
analogous
#322EB8 #772EB8 #B82EB4
triadic
#772EB8 #B8772E #2EB877
tetradic
#772EB8 #B8322E #6FB82E #2EB4B8
square
#772EB8 #B8322E #6FB82E #2EB4B8
split-complementary
#772EB8 #B4B82E #2EB832
monochromatic
#381656 #572287 #772EB8 #9550D3 #B381DF

Accessibility & contrast

On white

7.32
#772EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#772EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EB8
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EB8#FFFFFF#000000##FFFFFF
##772EB81.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#6A5171
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #772eb8;
/* rgb */ color: rgb(119, 46, 184);
/* oklch */ color: oklch(47.9% 0.204 303.5);
Tailwind
colors: {
  custom: {
    50: '#a46ece',
    500: '#772eb8',
    950: '#000000',
  },
}
SCSS
$custom: #772eb8;
$custom-light: #a46ece;
$custom-dark: #000000;
JSON
{
  "hex": "#772eb8",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 271.739,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47894,
    "c": 0.20358,
    "h": 303.5
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#772EB8
secondary
#9FC879
accent
#E3458F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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