#771FB3#771FB3

#771FB3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.213 H 306.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#771FB3
RGBrgb(119, 31, 179)
HSLhsl(276, 70%, 41%)
HSVhsv(276, 83%, 70%)
CMYKcmyk(33.5%, 82.7%, 0%, 29.8%)
CIE-LABlab(34.31, 60.57, -60.40)
CIE-LCHlch(34.31, 85.54, 315.08°)
OKLaboklab(46.15% 0.1256 -0.1721)
OKLCHoklch(46.15% 0.213 306.1)
XYZxyz(16.2326, 8.1567, 43.3583)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771FB3 #5BB31F
analogous
#2D1FB3 #771FB3 #B31FA5
triadic
#771FB3 #B3771F #1FB377
tetradic
#771FB3 #B32D1F #5BB31F #1FA5B3
square
#771FB3 #B32D1F #5BB31F #1FA5B3
split-complementary
#771FB3 #A5B31F #1FB32D
monochromatic
#320D4B #54167F #771FB3 #9833DC #B268E5

Accessibility & contrast

On white

7.98
#771FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#771FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771FB3
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771FB3#FFFFFF#000000##FFFFFF
##771FB31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771fb3;
/* rgb */ color: rgb(119, 31, 179);
/* oklch */ color: oklch(46.1% 0.213 306.1);
Tailwind
colors: {
  custom: {
    50: '#a467cb',
    500: '#771fb3',
    950: '#000000',
  },
}
SCSS
$custom: #771fb3;
$custom-light: #a467cb;
$custom-dark: #000000;
JSON
{
  "hex": "#771fb3",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 179
  },
  "hsl": {
    "h": 275.676,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46148,
    "c": 0.21308,
    "h": 306.1
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#771FB3
secondary
#8DCA64
accent
#ED3B83
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #771FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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