#771CA7#771CA7

#771CA7 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.205 H 309.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#771CA7
RGBrgb(119, 28, 167)
HSLhsl(279, 71%, 38%)
HSVhsv(279, 83%, 65%)
CMYKcmyk(28.7%, 83.2%, 0%, 34.5%)
CIE-LABlab(33.01, 58.92, -55.33)
CIE-LCHlch(33.01, 80.83, 316.80°)
OKLaboklab(44.94% 0.1311 -0.1572)
OKLCHoklch(44.94% 0.205 309.8)
XYZxyz(14.9967, 7.5428, 37.2176)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771CA7 #4CA71C
analogous
#321CA7 #771CA7 #A71C91
triadic
#771CA7 #A7771C #1CA777
tetradic
#771CA7 #A7321C #4CA71C #1C91A7
square
#771CA7 #A7321C #4CA71C #1C91A7
split-complementary
#771CA7 #91A71C #1CA732
monochromatic
#2C0A3E #521373 #771CA7 #9C26DB #B45AE3

Accessibility & contrast

On white

8.37
#771CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#771CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771CA7
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771CA7#FFFFFF#000000##FFFFFF
##771CA71.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#704164
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #771ca7;
/* rgb */ color: rgb(119, 28, 167);
/* oklch */ color: oklch(44.9% 0.205 309.8);
Tailwind
colors: {
  custom: {
    50: '#a466c2',
    500: '#771ca7',
    950: '#000000',
  },
}
SCSS
$custom: #771ca7;
$custom-light: #a466c2;
$custom-dark: #000000;
JSON
{
  "hex": "#771ca7",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 279.281,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.20467,
    "h": 309.8
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#771CA7
secondary
#7EC758
accent
#EE3A78
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771CA7

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

Preview Lab → · Contrast checker → · Palette generator →

#771CA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva