#771CB3#771CB3

#771CB3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.9% C 0.215 H 306.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#771CB3
RGBrgb(119, 28, 179)
HSLhsl(276, 73%, 41%)
HSVhsv(276, 84%, 70%)
CMYKcmyk(33.5%, 84.4%, 0%, 29.8%)
CIE-LABlab(34.00, 61.47, -60.91)
CIE-LCHlch(34.00, 86.54, 315.26°)
OKLaboklab(45.93% 0.1276 -0.1736)
OKLCHoklch(45.93% 0.215 306.3)
XYZxyz(16.1579, 8.0073, 43.3334)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771CB3 #58B31C
analogous
#2B1CB3 #771CB3 #B31CA3
triadic
#771CB3 #B3771C #1CB377
tetradic
#771CB3 #B32B1C #58B31C #1CA3B3
square
#771CB3 #B32B1C #58B31C #1CA3B3
split-complementary
#771CB3 #A3B31C #1CB32B
monochromatic
#310B49 #54147E #771CB3 #982EDE #B263E7

Accessibility & contrast

On white

8.07
#771CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#771CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771CB3
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771CB3#FFFFFF#000000##FFFFFF
##771CB31.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#6C476B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #771cb3;
/* rgb */ color: rgb(119, 28, 179);
/* oklch */ color: oklch(45.9% 0.215 306.3);
Tailwind
colors: {
  custom: {
    50: '#a466cb',
    500: '#771cb3',
    950: '#000000',
  },
}
SCSS
$custom: #771cb3;
$custom-light: #a466cb;
$custom-dark: #000000;
JSON
{
  "hex": "#771cb3",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 276.159,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45933,
    "c": 0.21544,
    "h": 306.3
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#771CB3
secondary
#8ACB5F
accent
#F03881
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #771CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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