#A771CF#A771CF

#A771CF is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.2% C 0.146 H 309.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A771CF
RGBrgb(167, 113, 207)
HSLhsl(274, 49%, 63%)
HSVhsv(274, 45%, 81%)
CMYKcmyk(19.3%, 45.4%, 0%, 18.8%)
CIE-LABlab(56.62, 38.78, -40.58)
CIE-LCHlch(56.62, 56.13, 313.70°)
OKLaboklab(64.19% 0.0926 -0.113)
OKLCHoklch(64.19% 0.146 309.3)
XYZxyz(33.1018, 24.5312, 62.0106)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771CF #99CF71
analogous
#7871CF #A771CF #CF71C8
triadic
#A771CF #CFA771 #71CFA7
tetradic
#A771CF #CF7871 #99CF71 #71C8CF
square
#A771CF #CF7871 #99CF71 #71C8CF
split-complementary
#A771CF #C8CF71 #71CF78
monochromatic
#6A3294 #8B43C0 #A771CF #C39FDE #E0CCEE

Accessibility & contrast

On white

3.56
#A771CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#A771CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771CF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771CF#FFFFFF#000000##000000
##A771CF1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D2
Deuteranopia (green-blind)
#6989CC
Tritanopia (blue-blind)
#A28096
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a771cf;
/* rgb */ color: rgb(167, 113, 207);
/* oklch */ color: oklch(64.2% 0.146 309.3);
Tailwind
colors: {
  custom: {
    50: '#c39bde',
    500: '#a771cf',
    950: '#000000',
  },
}
SCSS
$custom: #a771cf;
$custom-light: #c39bde;
$custom-dark: #000000;
JSON
{
  "hex": "#a771cf",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 274.468,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64187,
    "c": 0.14611,
    "h": 309.3
  },
  "luminance": 0.24531
}

Semantic roles & 50–950 ramp

primary
#A771CF
secondary
#CBDFBD
accent
#BD2968
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A771CF

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

Preview Lab → · Contrast checker → · Palette generator →

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