#A771E7#A771E7

#A771E7 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.175 H 303.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A771E7
RGBrgb(167, 113, 231)
HSLhsl(267, 71%, 67%)
HSVhsv(267, 51%, 91%)
CMYKcmyk(27.7%, 51.1%, 0%, 9.4%)
CIE-LABlab(57.84, 44.35, -52.14)
CIE-LCHlch(57.84, 68.45, 310.39°)
OKLaboklab(65.5% 0.0953 -0.1467)
OKLCHoklch(65.5% 0.175 303)
XYZxyz(36.2621, 25.7953, 78.6544)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771E7 #B1E771
analogous
#7176E7 #A771E7 #E271E7
triadic
#A771E7 #E7A771 #71E7A7
tetradic
#A771E7 #E77176 #B1E771 #71E7E2
square
#A771E7 #E77176 #B1E771 #71E7E2
split-complementary
#A771E7 #E7E271 #76E771
monochromatic
#6820BE #873DDE #A771E7 #C7A5F0 #E8DAF9

Accessibility & contrast

On white

3.41
#A771E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A771E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771E7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771E7#FFFFFF#000000##000000
##A771E71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEB
Deuteranopia (green-blind)
#5A8BE4
Tritanopia (blue-blind)
#9B87A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a771e7;
/* rgb */ color: rgb(167, 113, 231);
/* oklch */ color: oklch(65.5% 0.175 303.0);
Tailwind
colors: {
  custom: {
    50: '#c49bef',
    500: '#a771e7',
    950: '#000000',
  },
}
SCSS
$custom: #a771e7;
$custom-light: #c49bef;
$custom-dark: #000000;
JSON
{
  "hex": "#a771e7",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 267.458,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.655,
    "c": 0.17494,
    "h": 303
  },
  "luminance": 0.25795
}

Semantic roles & 50–950 ramp

primary
#A771E7
secondary
#DBECC7
accent
#D3127B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A771E7

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

Preview Lab → · Contrast checker → · Palette generator →

#A771E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva