#771FAC#771FAC

#771FAC is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.6% C 0.207 H 308.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#771FAC
RGBrgb(119, 31, 172)
HSLhsl(277, 69%, 40%)
HSVhsv(277, 82%, 67%)
CMYKcmyk(30.8%, 82%, 0%, 32.5%)
CIE-LABlab(33.73, 59.05, -57.16)
CIE-LCHlch(33.73, 82.19, 315.93°)
OKLaboklab(45.57% 0.1276 -0.1626)
OKLCHoklch(45.57% 0.207 308.1)
XYZxyz(15.5426, 7.8807, 39.7241)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771FAC #54AC1F
analogous
#311FAC #771FAC #AC1F9A
triadic
#771FAC #AC771F #1FAC77
tetradic
#771FAC #AC311F #54AC1F #1F9AAC
square
#771FAC #AC311F #54AC1F #1F9AAC
split-complementary
#771FAC #9AAC1F #1FAC31
monochromatic
#2F0C44 #531678 #771FAC #992FD9 #B363E3

Accessibility & contrast

On white

8.15
#771FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#771FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771FAC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771FAC#FFFFFF#000000##FFFFFF
##771FAC1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#6E4567
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #771fac;
/* rgb */ color: rgb(119, 31, 172);
/* oklch */ color: oklch(45.6% 0.207 308.1);
Tailwind
colors: {
  custom: {
    50: '#a467c6',
    500: '#771fac',
    950: '#000000',
  },
}
SCSS
$custom: #771fac;
$custom-light: #a467c6;
$custom-dark: #000000;
JSON
{
  "hex": "#771fac",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 172
  },
  "hsl": {
    "h": 277.447,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.20667,
    "h": 308.1
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#771FAC
secondary
#86C85F
accent
#EC3C7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #771FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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