#771BA8#771BA8

#771BA8 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 45.0% C 0.206 H 309.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#771BA8
RGBrgb(119, 27, 168)
HSLhsl(279, 72%, 38%)
HSVhsv(279, 84%, 66%)
CMYKcmyk(29.2%, 83.9%, 0%, 34.1%)
CIE-LABlab(32.99, 59.43, -55.97)
CIE-LCHlch(32.99, 81.64, 316.72°)
OKLaboklab(44.95% 0.1315 -0.159)
OKLCHoklch(44.95% 0.206 309.6)
XYZxyz(15.0661, 7.5333, 37.6986)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771BA8 #4CA81B
analogous
#301BA8 #771BA8 #A81B92
triadic
#771BA8 #A8771B #1BA877
tetradic
#771BA8 #A8301B #4CA81B #1B92A8
square
#771BA8 #A8301B #4CA81B #1B92A8
split-complementary
#771BA8 #92A81B #1BA830
monochromatic
#2C0A3F #521373 #771BA8 #9C24DC #B459E4

Accessibility & contrast

On white

8.38
#771BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771BA8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771BA8#FFFFFF#000000##FFFFFF
##771BA81.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771ba8;
/* rgb */ color: rgb(119, 27, 168);
/* oklch */ color: oklch(45.0% 0.206 309.6);
Tailwind
colors: {
  custom: {
    50: '#a465c3',
    500: '#771ba8',
    950: '#000000',
  },
}
SCSS
$custom: #771ba8;
$custom-light: #a465c3;
$custom-dark: #000000;
JSON
{
  "hex": "#771ba8",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 168
  },
  "hsl": {
    "h": 279.149,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.20636,
    "h": 309.6
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

primary
#771BA8
secondary
#7EC857
accent
#EF3978
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #771BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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