#A771CD#A771CD

#A771CD is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.1% C 0.144 H 310.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A771CD
RGBrgb(167, 113, 205)
HSLhsl(275, 48%, 62%)
HSVhsv(275, 45%, 80%)
CMYKcmyk(18.5%, 44.9%, 0%, 19.6%)
CIE-LABlab(56.52, 38.34, -39.60)
CIE-LCHlch(56.52, 55.11, 314.07°)
OKLaboklab(64.08% 0.0923 -0.1102)
OKLCHoklch(64.08% 0.144 310)
XYZxyz(32.8589, 24.4340, 60.7310)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771CD #97CD71
analogous
#7971CD #A771CD #CD71C5
triadic
#A771CD #CDA771 #71CDA7
tetradic
#A771CD #CD7971 #97CD71 #71C5CD
square
#A771CD #CD7971 #97CD71 #71C5CD
split-complementary
#A771CD #C5CD71 #71CD79
monochromatic
#6A3391 #8B44BD #A771CD #C39EDD #DFCCED

Accessibility & contrast

On white

3.57
#A771CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A771CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771CD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771CD#FFFFFF#000000##000000
##A771CD1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#6A89CB
Tritanopia (blue-blind)
#A27F95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a771cd;
/* rgb */ color: rgb(167, 113, 205);
/* oklch */ color: oklch(64.1% 0.144 310.0);
Tailwind
colors: {
  custom: {
    50: '#c39bdc',
    500: '#a771cd',
    950: '#000000',
  },
}
SCSS
$custom: #a771cd;
$custom-light: #c39bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a771cd",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 275.217,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64084,
    "c": 0.14372,
    "h": 310
  },
  "luminance": 0.24434
}

Semantic roles & 50–950 ramp

primary
#A771CD
secondary
#CADEBC
accent
#BB2A66
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A771CD

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

Preview Lab → · Contrast checker → · Palette generator →

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