#A772EC#A772EC

#A772EC is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.9% C 0.179 H 301.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A772EC
RGBrgb(167, 114, 236)
HSLhsl(266, 76%, 69%)
HSVhsv(266, 52%, 93%)
CMYKcmyk(29.2%, 51.7%, 0%, 7.5%)
CIE-LABlab(58.33, 45.01, -54.16)
CIE-LCHlch(58.33, 70.42, 309.73°)
OKLaboklab(65.95% 0.0944 -0.1526)
OKLCHoklch(65.95% 0.179 301.7)
XYZxyz(37.0905, 26.3062, 82.4642)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772EC #B7EC72
analogous
#727AEC #A772EC #E472EC
triadic
#A772EC #ECA772 #72ECA7
tetradic
#A772EC #EC727A #B7EC72 #72ECE4
square
#A772EC #EC727A #B7EC72 #72ECE4
split-complementary
#A772EC #ECE472 #7AEC72
monochromatic
#661BC9 #853CE5 #A772EC #C9A8F3 #EADEFB

Accessibility & contrast

On white

3.35
#A772EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#A772EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772EC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772EC#FFFFFF#000000##000000
##A772EC1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BF0
Deuteranopia (green-blind)
#578CE9
Tritanopia (blue-blind)
#9A89A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a772ec;
/* rgb */ color: rgb(167, 114, 236);
/* oklch */ color: oklch(65.9% 0.179 301.7);
Tailwind
colors: {
  custom: {
    50: '#c49cf3',
    500: '#a772ec',
    950: '#000000',
  },
}
SCSS
$custom: #a772ec;
$custom-light: #c49cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a772ec",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 266.066,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65947,
    "c": 0.17942,
    "h": 301.7
  },
  "luminance": 0.26306
}

Semantic roles & 50–950 ramp

primary
#A772EC
secondary
#DFEFCB
accent
#D80D80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A772EC

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

Preview Lab → · Contrast checker → · Palette generator →

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