#A772F6#A772F6

#A772F6 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.191 H 299.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A772F6
RGBrgb(167, 114, 246)
HSLhsl(264, 88%, 71%)
HSVhsv(264, 54%, 96%)
CMYKcmyk(32.1%, 53.7%, 0%, 3.5%)
CIE-LABlab(58.88, 47.44, -58.81)
CIE-LCHlch(58.88, 75.56, 308.89°)
OKLaboklab(66.54% 0.0949 -0.1662)
OKLCHoklch(66.54% 0.191 299.7)
XYZxyz(38.5842, 26.9036, 90.3311)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772F6 #C1F672
analogous
#727FF6 #A772F6 #E972F6
triadic
#A772F6 #F6A772 #72F6A7
tetradic
#A772F6 #F6727F #C1F672 #72F6E9
square
#A772F6 #F6727F #C1F672 #72F6E9
split-complementary
#A772F6 #F6E972 #7FF672
monochromatic
#620EDF #8338F2 #A772F6 #CBACFA #EDE2FD

Accessibility & contrast

On white

3.29
#A772F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A772F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772F6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772F6#FFFFFF#000000##000000
##A772F61.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8DFA
Deuteranopia (green-blind)
#4E8DF3
Tritanopia (blue-blind)
#978CA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a772f6;
/* rgb */ color: rgb(167, 114, 246);
/* oklch */ color: oklch(66.5% 0.191 299.7);
Tailwind
colors: {
  custom: {
    50: '#c59cfa',
    500: '#a772f6',
    950: '#000000',
  },
}
SCSS
$custom: #a772f6;
$custom-light: #c59cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a772f6",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 264.091,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6654,
    "c": 0.19142,
    "h": 299.7
  },
  "luminance": 0.26904
}

Semantic roles & 50–950 ramp

primary
#A772F6
secondary
#E5F4D0
accent
#E50189
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A772F6

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

Preview Lab → · Contrast checker → · Palette generator →

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