#772BB5#772BB5

#772BB5 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.204 H 304.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#772BB5
RGBrgb(119, 43, 181)
HSLhsl(273, 62%, 44%)
HSVhsv(273, 76%, 71%)
CMYKcmyk(34.3%, 76.2%, 0%, 29%)
CIE-LABlab(35.96, 56.71, -58.90)
CIE-LCHlch(35.96, 81.76, 313.91°)
OKLaboklab(47.35% 0.1157 -0.1678)
OKLCHoklch(47.35% 0.204 304.6)
XYZxyz(16.8102, 8.9860, 44.5560)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BB5 #69B52B
analogous
#322BB5 #772BB5 #B52BAE
triadic
#772BB5 #B5772B #2BB577
tetradic
#772BB5 #B5322B #69B52B #2BAEB5
square
#772BB5 #B5322B #69B52B #2BAEB5
split-complementary
#772BB5 #AEB52B #2BB532
monochromatic
#361452 #561F84 #772BB5 #9649D4 #B27BE0

Accessibility & contrast

On white

7.51
#772BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772BB5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BB5#FFFFFF#000000##FFFFFF
##772BB51.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#6B4E6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772bb5;
/* rgb */ color: rgb(119, 43, 181);
/* oklch */ color: oklch(47.3% 0.204 304.6);
Tailwind
colors: {
  custom: {
    50: '#a46dcc',
    500: '#772bb5',
    950: '#000000',
  },
}
SCSS
$custom: #772bb5;
$custom-light: #a46dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#772bb5",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 273.043,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4735,
    "c": 0.20377,
    "h": 304.6
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#772BB5
secondary
#9AC874
accent
#E5438C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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