#772FB9#772FB9

#772FB9 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.204 H 303.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#772FB9
RGBrgb(119, 47, 185)
HSLhsl(271, 59%, 45%)
HSVhsv(271, 75%, 73%)
CMYKcmyk(35.7%, 74.6%, 0%, 27.5%)
CIE-LABlab(36.85, 55.99, -59.81)
CIE-LCHlch(36.85, 81.93, 313.11°)
OKLaboklab(48.08% 0.1112 -0.1705)
OKLCHoklch(48.08% 0.204 303.1)
XYZxyz(17.3792, 9.4577, 46.7995)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FB9 #71B92F
analogous
#322FB9 #772FB9 #B92FB6
triadic
#772FB9 #B9772F #2FB977
tetradic
#772FB9 #B9322F #71B92F #2FB6B9
square
#772FB9 #B9322F #71B92F #2FB6B9
split-complementary
#772FB9 #B6B92F #2FB932
monochromatic
#381657 #582388 #772FB9 #9552D3 #B383DF

Accessibility & contrast

On white

7.26
#772FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#772FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772FB9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FB9#FFFFFF#000000##FFFFFF
##772FB91.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#6A5272
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772fb9;
/* rgb */ color: rgb(119, 47, 185);
/* oklch */ color: oklch(48.1% 0.204 303.1);
Tailwind
colors: {
  custom: {
    50: '#a46fcf',
    500: '#772fb9',
    950: '#000000',
  },
}
SCSS
$custom: #772fb9;
$custom-light: #a46fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#772fb9",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 271.304,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.20351,
    "h": 303.1
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#772FB9
secondary
#A0C97B
accent
#E34590
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #772FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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