#771FB0#771FB0

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

Color values

HEX#771FB0
RGBrgb(119, 31, 176)
HSLhsl(276, 70%, 41%)
HSVhsv(276, 82%, 69%)
CMYKcmyk(32.4%, 82.4%, 0%, 31%)
CIE-LABlab(34.06, 59.92, -59.02)
CIE-LCHlch(34.06, 84.10, 315.43°)
OKLaboklab(45.9% 0.1265 -0.168)
OKLCHoklch(45.9% 0.21 307)
XYZxyz(15.9325, 8.0367, 41.7778)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771FB0 #58B01F
analogous
#2F1FB0 #771FB0 #B01FA0
triadic
#771FB0 #B0771F #1FB077
tetradic
#771FB0 #B02F1F #58B01F #1FA0B0
square
#771FB0 #B02F1F #58B01F #1FA0B0
split-complementary
#771FB0 #A0B01F #1FB02F
monochromatic
#310D48 #54167C #771FB0 #9831DB #B265E4

Accessibility & contrast

On white

8.05
#771FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#771FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771FB0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771FB0#FFFFFF#000000##FFFFFF
##771FB01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#6D4769
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #771fb0;
/* rgb */ color: rgb(119, 31, 176);
/* oklch */ color: oklch(45.9% 0.210 307.0);
Tailwind
colors: {
  custom: {
    50: '#a467c9',
    500: '#771fb0',
    950: '#000000',
  },
}
SCSS
$custom: #771fb0;
$custom-light: #a467c9;
$custom-dark: #000000;
JSON
{
  "hex": "#771fb0",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 176
  },
  "hsl": {
    "h": 276.414,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.21033,
    "h": 307
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#771FB0
secondary
#8AC962
accent
#ED3B81
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #771FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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