#A771EF#A771EF

#A771EF is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.0% C 0.185 H 301.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A771EF
RGBrgb(167, 113, 239)
HSLhsl(266, 80%, 69%)
HSVhsv(266, 53%, 94%)
CMYKcmyk(30.1%, 52.7%, 0%, 6.3%)
CIE-LABlab(58.28, 46.28, -55.90)
CIE-LCHlch(58.28, 72.57, 309.62°)
OKLaboklab(65.97% 0.0959 -0.1577)
OKLCHoklch(65.97% 0.185 301.3)
XYZxyz(37.4179, 26.2576, 84.7415)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771EF #B9EF71
analogous
#717AEF #A771EF #E671EF
triadic
#A771EF #EFA771 #71EFA7
tetradic
#A771EF #EF717A #B9EF71 #71EFE6
square
#A771EF #EF717A #B9EF71 #71EFE6
split-complementary
#A771EF #EFE671 #7AEF71
monochromatic
#6617CE #853AE9 #A771EF #C9A8F5 #EBDFFB

Accessibility & contrast

On white

3.36
#A771EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A771EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771EF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771EF#FFFFFF#000000##000000
##A771EF1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF3
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#9989A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a771ef;
/* rgb */ color: rgb(167, 113, 239);
/* oklch */ color: oklch(66.0% 0.185 301.3);
Tailwind
colors: {
  custom: {
    50: '#c49bf5',
    500: '#a771ef',
    950: '#000000',
  },
}
SCSS
$custom: #a771ef;
$custom-light: #c49bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a771ef",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 265.714,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65966,
    "c": 0.18452,
    "h": 301.3
  },
  "luminance": 0.26258
}

Semantic roles & 50–950 ramp

primary
#A771EF
secondary
#E1F0CB
accent
#DC0982
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A771EF

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

Preview Lab → · Contrast checker → · Palette generator →

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