#771DA7#771DA7

#771DA7 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.204 H 309.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#771DA7
RGBrgb(119, 29, 167)
HSLhsl(279, 70%, 38%)
HSVhsv(279, 83%, 65%)
CMYKcmyk(28.7%, 82.6%, 0%, 34.5%)
CIE-LABlab(33.12, 58.62, -55.17)
CIE-LCHlch(33.12, 80.49, 316.74°)
OKLaboklab(45.02% 0.1304 -0.1567)
OKLCHoklch(45.02% 0.204 309.8)
XYZxyz(15.0208, 7.5910, 37.2257)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771DA7 #4DA71D
analogous
#321DA7 #771DA7 #A71D92
triadic
#771DA7 #A7771D #1DA777
tetradic
#771DA7 #A7321D #4DA71D #1D92A7
square
#771DA7 #A7321D #4DA71D #1D92A7
split-complementary
#771DA7 #92A71D #1DA732
monochromatic
#2D0B3F #521473 #771DA7 #9C28DA #B45CE3

Accessibility & contrast

On white

8.34
#771DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#771DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771DA7
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771DA7#FFFFFF#000000##FFFFFF
##771DA71.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#704264
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #771da7;
/* rgb */ color: rgb(119, 29, 167);
/* oklch */ color: oklch(45.0% 0.204 309.8);
Tailwind
colors: {
  custom: {
    50: '#a366c2',
    500: '#771da7',
    950: '#000000',
  },
}
SCSS
$custom: #771da7;
$custom-light: #a366c2;
$custom-dark: #000000;
JSON
{
  "hex": "#771da7",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 279.13,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45016,
    "c": 0.20384,
    "h": 309.8
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#771DA7
secondary
#7FC759
accent
#ED3B79
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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