#A771BC#A771BC

#A771BC is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.2% C 0.124 H 316.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A771BC
RGBrgb(167, 113, 188)
HSLhsl(283, 36%, 59%)
HSVhsv(283, 40%, 74%)
CMYKcmyk(11.2%, 39.9%, 0%, 26.3%)
CIE-LABlab(55.74, 34.63, -31.12)
CIE-LCHlch(55.74, 46.56, 318.05°)
OKLaboklab(63.25% 0.0892 -0.0858)
OKLCHoklch(63.25% 0.124 316.1)
XYZxyz(30.9172, 23.6574, 50.5049)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771BC #86BC71
analogous
#8271BC #A771BC #BC71AC
triadic
#A771BC #BCA771 #71BCA7
tetradic
#A771BC #BC8271 #86BC71 #71ACBC
square
#A771BC #BC8271 #86BC71 #71ACBC
split-complementary
#A771BC #ACBC71 #71BC82
monochromatic
#673979 #8B4DA3 #A771BC #C19BD0 #DBC4E3

Accessibility & contrast

On white

3.66
#A771BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A771BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771BC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771BC#FFFFFF#000000##000000
##A771BC1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BF
Deuteranopia (green-blind)
#7287BA
Tritanopia (blue-blind)
#A67B8E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a771bc;
/* rgb */ color: rgb(167, 113, 188);
/* oklch */ color: oklch(63.2% 0.124 316.1);
Tailwind
colors: {
  custom: {
    50: '#c29bd0',
    500: '#a771bc',
    950: '#000000',
  },
}
SCSS
$custom: #a771bc;
$custom-light: #c29bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a771bc",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 283.2,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63246,
    "c": 0.12371,
    "h": 316.1
  },
  "luminance": 0.23657
}

Semantic roles & 50–950 ramp

primary
#A771BC
secondary
#BED3B6
accent
#CC5C7B
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A771BC

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

Preview Lab → · Contrast checker → · Palette generator →

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