#A771ED#A771ED

#A771ED is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.182 H 301.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A771ED
RGBrgb(167, 113, 237)
HSLhsl(266, 78%, 69%)
HSVhsv(266, 52%, 93%)
CMYKcmyk(29.5%, 52.3%, 0%, 7.1%)
CIE-LABlab(58.17, 45.79, -54.96)
CIE-LCHlch(58.17, 71.54, 309.80°)
OKLaboklab(65.85% 0.0957 -0.1549)
OKLCHoklch(65.85% 0.182 301.7)
XYZxyz(37.1240, 26.1401, 83.1941)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771ED #B7ED71
analogous
#7179ED #A771ED #E571ED
triadic
#A771ED #EDA771 #71EDA7
tetradic
#A771ED #ED7179 #B7ED71 #71EDE5
square
#A771ED #ED7179 #B7ED71 #71EDE5
split-complementary
#A771ED #EDE571 #79ED71
monochromatic
#661ACA #853BE6 #A771ED #C9A7F4 #EADEFB

Accessibility & contrast

On white

3.37
#A771ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A771ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771ED
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771ED#FFFFFF#000000##000000
##A771ED1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF1
Deuteranopia (green-blind)
#558BEA
Tritanopia (blue-blind)
#9A89A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a771ed;
/* rgb */ color: rgb(167, 113, 237);
/* oklch */ color: oklch(65.8% 0.182 301.7);
Tailwind
colors: {
  custom: {
    50: '#c49bf3',
    500: '#a771ed',
    950: '#000000',
  },
}
SCSS
$custom: #a771ed;
$custom-light: #c49bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a771ed",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 266.129,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65848,
    "c": 0.18213,
    "h": 301.7
  },
  "luminance": 0.2614
}

Semantic roles & 50–950 ramp

primary
#A771ED
secondary
#DFEFCA
accent
#DA0C80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A771ED

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

Preview Lab → · Contrast checker → · Palette generator →

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