#771EB3#771EB3

#771EB3 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.1% C 0.214 H 306.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#771EB3
RGBrgb(119, 30, 179)
HSLhsl(276, 71%, 41%)
HSVhsv(276, 83%, 70%)
CMYKcmyk(33.5%, 83.2%, 0%, 29.8%)
CIE-LABlab(34.20, 60.88, -60.58)
CIE-LCHlch(34.20, 85.88, 315.14°)
OKLaboklab(46.07% 0.1263 -0.1726)
OKLCHoklch(46.07% 0.214 306.2)
XYZxyz(16.2069, 8.1053, 43.3498)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771EB3 #5AB31E
analogous
#2C1EB3 #771EB3 #B31EA4
triadic
#771EB3 #B3771E #1EB377
tetradic
#771EB3 #B32C1E #5AB31E #1EA4B3
square
#771EB3 #B32C1E #5AB31E #1EA4B3
split-complementary
#771EB3 #A4B31E #1EB32C
monochromatic
#310C4A #54157F #771EB3 #9832DD #B266E5

Accessibility & contrast

On white

8.01
#771EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#771EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771EB3
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771EB3#FFFFFF#000000##FFFFFF
##771EB31.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#6C486B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #771eb3;
/* rgb */ color: rgb(119, 30, 179);
/* oklch */ color: oklch(46.1% 0.214 306.2);
Tailwind
colors: {
  custom: {
    50: '#a467cb',
    500: '#771eb3',
    950: '#000000',
  },
}
SCSS
$custom: #771eb3;
$custom-light: #a467cb;
$custom-dark: #000000;
JSON
{
  "hex": "#771eb3",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 275.839,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.21389,
    "h": 306.2
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#771EB3
secondary
#8CCB62
accent
#EE3A82
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #771EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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