#A772EA#A772EA

#A772EA is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.8% C 0.177 H 302.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A772EA
RGBrgb(167, 114, 234)
HSLhsl(267, 74%, 68%)
HSVhsv(267, 51%, 92%)
CMYKcmyk(28.6%, 51.3%, 0%, 8.2%)
CIE-LABlab(58.22, 44.53, -53.22)
CIE-LCHlch(58.22, 69.39, 309.92°)
OKLaboklab(65.83% 0.0943 -0.1498)
OKLCHoklch(65.83% 0.177 302.2)
XYZxyz(36.8016, 26.1906, 80.9424)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772EA #B5EA72
analogous
#7279EA #A772EA #E372EA
triadic
#A772EA #EAA772 #72EAA7
tetradic
#A772EA #EA7279 #B5EA72 #72EAE3
square
#A772EA #EA7279 #B5EA72 #72EAE3
split-complementary
#A772EA #EAE372 #79EA72
monochromatic
#671DC4 #863DE2 #A772EA #C8A7F2 #E9DDFA

Accessibility & contrast

On white

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

On black

6.24
#A772EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772EA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772EA#FFFFFF#000000##000000
##A772EA1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#9A88A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a772ea;
/* rgb */ color: rgb(167, 114, 234);
/* oklch */ color: oklch(65.8% 0.177 302.2);
Tailwind
colors: {
  custom: {
    50: '#c49cf1',
    500: '#a772ea',
    950: '#000000',
  },
}
SCSS
$custom: #a772ea;
$custom-light: #c49cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a772ea",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 266.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65831,
    "c": 0.17701,
    "h": 302.2
  },
  "luminance": 0.26191
}

Semantic roles & 50–950 ramp

primary
#A772EA
secondary
#DEEECA
accent
#D60F7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A772EA

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

Preview Lab → · Contrast checker → · Palette generator →

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