#A771BB#A771BB

#A771BB is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.2% C 0.123 H 316.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A771BB
RGBrgb(167, 113, 187)
HSLhsl(284, 35%, 59%)
HSVhsv(284, 40%, 73%)
CMYKcmyk(10.7%, 39.6%, 0%, 26.7%)
CIE-LABlab(55.70, 34.42, -30.62)
CIE-LCHlch(55.70, 46.07, 318.34°)
OKLaboklab(63.2% 0.0889 -0.0843)
OKLCHoklch(63.2% 0.123 316.5)
XYZxyz(30.8098, 23.6144, 49.9391)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771BB #85BB71
analogous
#8271BB #A771BB #BB71AA
triadic
#A771BB #BBA771 #71BBA7
tetradic
#A771BB #BB8271 #85BB71 #71AABB
square
#A771BB #BB8271 #85BB71 #71AABB
split-complementary
#A771BB #AABB71 #71BB82
monochromatic
#673A78 #8B4DA1 #A771BB #C19ACF #DAC4E3

Accessibility & contrast

On white

3.67
#A771BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A771BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771BB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771BB#FFFFFF#000000##000000
##A771BB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BE
Deuteranopia (green-blind)
#7387B9
Tritanopia (blue-blind)
#A67B8D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a771bb;
/* rgb */ color: rgb(167, 113, 187);
/* oklch */ color: oklch(63.2% 0.123 316.5);
Tailwind
colors: {
  custom: {
    50: '#c29bcf',
    500: '#a771bb',
    950: '#000000',
  },
}
SCSS
$custom: #a771bb;
$custom-light: #c29bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a771bb",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 283.784,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63199,
    "c": 0.12255,
    "h": 316.5
  },
  "luminance": 0.23614
}

Semantic roles & 50–950 ramp

primary
#A771BB
secondary
#BDD2B5
accent
#CB5D7A
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A771BB

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

Preview Lab → · Contrast checker → · Palette generator →

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