#A771BF#A771BF

#A771BF is a light, vivid purple. Relative luminance 0.238; OKLCH L 63.4% C 0.127 H 314.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A771BF
RGBrgb(167, 113, 191)
HSLhsl(282, 38%, 60%)
HSVhsv(282, 41%, 75%)
CMYKcmyk(12.6%, 40.8%, 0%, 25.1%)
CIE-LABlab(55.88, 35.27, -32.63)
CIE-LCHlch(55.88, 48.05, 317.22°)
OKLaboklab(63.39% 0.0898 -0.0901)
OKLCHoklch(63.39% 0.127 314.9)
XYZxyz(31.2440, 23.7881, 52.2258)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771BF #89BF71
analogous
#8071BF #A771BF #BF71B0
triadic
#A771BF #BFA771 #71BFA7
tetradic
#A771BF #BF8071 #89BF71 #71B0BF
square
#A771BF #BF8071 #89BF71 #71B0BF
split-complementary
#A771BF #B0BF71 #71BF80
monochromatic
#68387D #8B4BA7 #A771BF #C19BD2 #DBC5E5

Accessibility & contrast

On white

3.65
#A771BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#A771BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771BF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771BF#FFFFFF#000000##000000
##A771BF1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6383C2
Deuteranopia (green-blind)
#7187BD
Tritanopia (blue-blind)
#A67C8F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a771bf;
/* rgb */ color: rgb(167, 113, 191);
/* oklch */ color: oklch(63.4% 0.127 314.9);
Tailwind
colors: {
  custom: {
    50: '#c29bd2',
    500: '#a771bf',
    950: '#000000',
  },
}
SCSS
$custom: #a771bf;
$custom-light: #c29bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a771bf",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 281.538,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63389,
    "c": 0.12719,
    "h": 314.9
  },
  "luminance": 0.23787
}

Semantic roles & 50–950 ramp

primary
#A771BF
secondary
#C0D5B7
accent
#CE5A7E
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A771BF

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

Preview Lab → · Contrast checker → · Palette generator →

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