#A771CB#A771CB

#A771CB is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.0% C 0.141 H 310.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A771CB
RGBrgb(167, 113, 203)
HSLhsl(276, 46%, 62%)
HSVhsv(276, 44%, 80%)
CMYKcmyk(17.7%, 44.3%, 0%, 20.4%)
CIE-LABlab(56.42, 37.89, -38.61)
CIE-LCHlch(56.42, 54.10, 314.46°)
OKLaboklab(63.98% 0.092 -0.1073)
OKLCHoklch(63.98% 0.141 310.6)
XYZxyz(32.6190, 24.3381, 59.4677)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771CB #95CB71
analogous
#7A71CB #A771CB #CB71C2
triadic
#A771CB #CBA771 #71CBA7
tetradic
#A771CB #CB7A71 #95CB71 #71C2CB
square
#A771CB #CB7A71 #95CB71 #71C2CB
split-complementary
#A771CB #C2CB71 #71CB7A
monochromatic
#6A348E #8B44BB #A771CB #C39EDB #DFCBEC

Accessibility & contrast

On white

3.58
#A771CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A771CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771CB#FFFFFF#000000##000000
##A771CB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CE
Deuteranopia (green-blind)
#6B88C9
Tritanopia (blue-blind)
#A37F94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a771cb;
/* rgb */ color: rgb(167, 113, 203);
/* oklch */ color: oklch(64.0% 0.141 310.6);
Tailwind
colors: {
  custom: {
    50: '#c39bdb',
    500: '#a771cb',
    950: '#000000',
  },
}
SCSS
$custom: #a771cb;
$custom-light: #c39bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a771cb",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 276,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.14134,
    "h": 310.6
  },
  "luminance": 0.24338
}

Semantic roles & 50–950 ramp

primary
#A771CB
secondary
#C9DCBB
accent
#BA2C65
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A771CB

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

Preview Lab → · Contrast checker → · Palette generator →

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