#771BA7#771BA7

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

Color values

HEX#771BA7
RGBrgb(119, 27, 167)
HSLhsl(279, 72%, 38%)
HSVhsv(279, 84%, 65%)
CMYKcmyk(28.7%, 83.8%, 0%, 34.5%)
CIE-LABlab(32.91, 59.22, -55.50)
CIE-LCHlch(32.91, 81.16, 316.86°)
OKLaboklab(44.87% 0.1318 -0.1577)
OKLCHoklch(44.87% 0.205 309.9)
XYZxyz(14.9733, 7.4962, 37.2098)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771BA7 #4BA71B
analogous
#311BA7 #771BA7 #A71B91
triadic
#771BA7 #A7771B #1BA777
tetradic
#771BA7 #A7311B #4BA71B #1B91A7
square
#771BA7 #A7311B #4BA71B #1B91A7
split-complementary
#771BA7 #91A71B #1BA731
monochromatic
#2C0A3E #511272 #771BA7 #9C24DC #B458E4

Accessibility & contrast

On white

8.40
#771BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#771BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771BA7
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771BA7#FFFFFF#000000##FFFFFF
##771BA71.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771ba7;
/* rgb */ color: rgb(119, 27, 167);
/* oklch */ color: oklch(44.9% 0.205 309.9);
Tailwind
colors: {
  custom: {
    50: '#a465c2',
    500: '#771ba7',
    950: '#000000',
  },
}
SCSS
$custom: #771ba7;
$custom-light: #a465c2;
$custom-dark: #000000;
JSON
{
  "hex": "#771ba7",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 279.429,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44873,
    "c": 0.20548,
    "h": 309.9
  },
  "luminance": 0.07496
}

Semantic roles & 50–950 ramp

primary
#771BA7
secondary
#7DC856
accent
#EF3977
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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