#771CA9#771CA9

#771CA9 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.206 H 309.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#771CA9
RGBrgb(119, 28, 169)
HSLhsl(279, 72%, 39%)
HSVhsv(279, 83%, 66%)
CMYKcmyk(29.6%, 83.4%, 0%, 33.7%)
CIE-LABlab(33.17, 59.34, -56.28)
CIE-LCHlch(33.17, 81.78, 316.52°)
OKLaboklab(45.11% 0.1305 -0.1599)
OKLCHoklch(45.11% 0.206 309.2)
XYZxyz(15.1830, 7.6173, 38.1989)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771CA9 #4EA91C
analogous
#301CA9 #771CA9 #A91C94
triadic
#771CA9 #A9771C #1CA977
tetradic
#771CA9 #A9301C #4EA91C #1C94A9
square
#771CA9 #A9301C #4EA91C #1C94A9
split-complementary
#771CA9 #94A91C #1CA930
monochromatic
#2D0B40 #521374 #771CA9 #9B27DB #B45BE4

Accessibility & contrast

On white

8.32
#771CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#771CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771CA9
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771CA9#FFFFFF#000000##FFFFFF
##771CA91.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#6F4265
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #771ca9;
/* rgb */ color: rgb(119, 28, 169);
/* oklch */ color: oklch(45.1% 0.206 309.2);
Tailwind
colors: {
  custom: {
    50: '#a466c3',
    500: '#771ca9',
    950: '#000000',
  },
}
SCSS
$custom: #771ca9;
$custom-light: #a466c3;
$custom-dark: #000000;
JSON
{
  "hex": "#771ca9",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 278.723,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45105,
    "c": 0.20646,
    "h": 309.2
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#771CA9
secondary
#80C859
accent
#EE397A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #771CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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