#771DB3#771DB3

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

Color values

HEX#771DB3
RGBrgb(119, 29, 179)
HSLhsl(276, 72%, 41%)
HSVhsv(276, 84%, 70%)
CMYKcmyk(33.5%, 83.8%, 0%, 29.8%)
CIE-LABlab(34.10, 61.18, -60.75)
CIE-LCHlch(34.10, 86.21, 315.20°)
OKLaboklab(46% 0.127 -0.1731)
OKLCHoklch(46% 0.215 306.3)
XYZxyz(16.1820, 8.0555, 43.3415)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771DB3 #59B31D
analogous
#2C1DB3 #771DB3 #B31DA4
triadic
#771DB3 #B3771D #1DB377
tetradic
#771DB3 #B32C1D #59B31D #1DA4B3
square
#771DB3 #B32C1D #59B31D #1DA4B3
split-complementary
#771DB3 #A4B31D #1DB32C
monochromatic
#310C4A #54147E #771DB3 #9830DD #B264E6

Accessibility & contrast

On white

8.04
#771DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771DB3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771DB3#FFFFFF#000000##FFFFFF
##771DB31.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771db3;
/* rgb */ color: rgb(119, 29, 179);
/* oklch */ color: oklch(46.0% 0.215 306.3);
Tailwind
colors: {
  custom: {
    50: '#a467cb',
    500: '#771db3',
    950: '#000000',
  },
}
SCSS
$custom: #771db3;
$custom-light: #a467cb;
$custom-dark: #000000;
JSON
{
  "hex": "#771db3",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 276,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46003,
    "c": 0.21466,
    "h": 306.3
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#771DB3
secondary
#8BCB61
accent
#EF3982
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #771DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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