#771DBC#771DBC

#771DBC is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.8% C 0.223 H 303.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#771DBC
RGBrgb(119, 29, 188)
HSLhsl(274, 73%, 43%)
HSVhsv(274, 85%, 74%)
CMYKcmyk(36.7%, 84.6%, 0%, 26.3%)
CIE-LABlab(34.87, 63.14, -64.82)
CIE-LCHlch(34.87, 90.49, 314.24°)
OKLaboklab(46.77% 0.1241 -0.1851)
OKLCHoklch(46.77% 0.223 303.9)
XYZxyz(17.1221, 8.4315, 48.2926)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771DBC #62BC1D
analogous
#271DBC #771DBC #BC1DB2
triadic
#771DBC #BC771D #1DBC77
tetradic
#771DBC #BC271D #62BC1D #1DB2BC
square
#771DBC #BC271D #62BC1D #1DB2BC
split-complementary
#771DBC #B2BC1D #1DBC27
monochromatic
#340D52 #551587 #771DBC #9636E0 #B26BE8

Accessibility & contrast

On white

7.82
#771DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#771DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771DBC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771DBC#FFFFFF#000000##FFFFFF
##771DBC1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#694B70
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #771dbc;
/* rgb */ color: rgb(119, 29, 188);
/* oklch */ color: oklch(46.8% 0.223 303.9);
Tailwind
colors: {
  custom: {
    50: '#a567d1',
    500: '#771dbc',
    950: '#000000',
  },
}
SCSS
$custom: #771dbc;
$custom-light: #a567d1;
$custom-dark: #000000;
JSON
{
  "hex": "#771dbc",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 188
  },
  "hsl": {
    "h": 273.962,
    "s": 73.272,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4677,
    "c": 0.22284,
    "h": 303.9
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#771DBC
secondary
#94CE67
accent
#F03888
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #771DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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