#772B9F#772B9F

#772B9F is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.182 H 311.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#772B9F
RGBrgb(119, 43, 159)
HSLhsl(279, 57%, 40%)
HSVhsv(279, 73%, 62%)
CMYKcmyk(25.2%, 73%, 0%, 37.6%)
CIE-LABlab(34.30, 51.75, -48.42)
CIE-LCHlch(34.30, 70.87, 316.91°)
OKLaboklab(45.66% 0.1198 -0.137)
OKLCHoklch(45.66% 0.182 311.2)
XYZxyz(14.7284, 8.1533, 33.5920)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B9F #539F2B
analogous
#3D2B9F #772B9F #9F2B8D
triadic
#772B9F #9F772B #2B9F77
tetradic
#772B9F #9F3D2B #539F2B #2B8D9F
square
#772B9F #9F3D2B #539F2B #2B8D9F
split-complementary
#772B9F #8D9F2B #2B9F3D
monochromatic
#2F113F #531E6F #772B9F #9A3DCA #B36DD7

Accessibility & contrast

On white

7.98
#772B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#772B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B9F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B9F#FFFFFF#000000##FFFFFF
##772B9F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#724562
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772b9f;
/* rgb */ color: rgb(119, 43, 159);
/* oklch */ color: oklch(45.7% 0.182 311.2);
Tailwind
colors: {
  custom: {
    50: '#a26cbc',
    500: '#772b9f',
    950: '#000000',
  },
}
SCSS
$custom: #772b9f;
$custom-light: #a26cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#772b9f",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 279.31,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.18194,
    "h": 311.2
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#772B9F
secondary
#85BE67
accent
#E1477C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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