#A772DC#A772DC

#A772DC is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.0% C 0.160 H 305.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A772DC
RGBrgb(167, 114, 220)
HSLhsl(270, 60%, 65%)
HSVhsv(270, 48%, 86%)
CMYKcmyk(24.1%, 48.2%, 0%, 13.7%)
CIE-LABlab(57.48, 41.21, -46.55)
CIE-LCHlch(57.48, 62.17, 311.52°)
OKLaboklab(65.04% 0.0929 -0.1304)
OKLCHoklch(65.04% 0.16 305.5)
XYZxyz(34.8692, 25.4176, 70.7654)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772DC #A7DC72
analogous
#7272DC #A772DC #DC72DC
triadic
#A772DC #DCA772 #72DCA7
tetradic
#A772DC #DC7272 #A7DC72 #72DCDC
square
#A772DC #DC7272 #A7DC72 #72DCDC
split-complementary
#A772DC #DCDC72 #72DC72
monochromatic
#6A2AAA #8841D0 #A772DC #C6A3E8 #E4D4F4

Accessibility & contrast

On white

3.45
#A772DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A772DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772DC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772DC#FFFFFF#000000##000000
##A772DC1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#638AD9
Tritanopia (blue-blind)
#9F849D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a772dc;
/* rgb */ color: rgb(167, 114, 220);
/* oklch */ color: oklch(65.0% 0.160 305.5);
Tailwind
colors: {
  custom: {
    50: '#c39ce7',
    500: '#a772dc',
    950: '#000000',
  },
}
SCSS
$custom: #a772dc;
$custom-light: #c39ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#a772dc",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 270,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65043,
    "c": 0.16011,
    "h": 305.5
  },
  "luminance": 0.25417
}

Semantic roles & 50–950 ramp

primary
#A772DC
secondary
#D5E7C3
accent
#C81E73
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A772DC

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

Preview Lab → · Contrast checker → · Palette generator →

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