#A772FA#A772FA

#A772FA is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.8% C 0.196 H 299.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A772FA
RGBrgb(167, 114, 250)
HSLhsl(263, 93%, 71%)
HSVhsv(263, 54%, 98%)
CMYKcmyk(33.2%, 54.4%, 0%, 2%)
CIE-LABlab(59.11, 48.42, -60.66)
CIE-LCHlch(59.11, 77.62, 308.60°)
OKLaboklab(66.78% 0.0951 -0.1716)
OKLCHoklch(66.78% 0.196 299)
XYZxyz(39.2048, 27.1519, 93.5993)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772FA #C5FA72
analogous
#7281FA #A772FA #EB72FA
triadic
#A772FA #FAA772 #72FAA7
tetradic
#A772FA #FA7281 #C5FA72 #72FAEB
square
#A772FA #FA7281 #C5FA72 #72FAEB
split-complementary
#A772FA #FAEB72 #81FA72
monochromatic
#6008E9 #8237F8 #A772FA #CCADFC #EDE1FE

Accessibility & contrast

On white

3.27
#A772FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A772FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772FA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772FA#FFFFFF#000000##000000
##A772FA1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFF
Deuteranopia (green-blind)
#4A8DF7
Tritanopia (blue-blind)
#958DAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a772fa;
/* rgb */ color: rgb(167, 114, 250);
/* oklch */ color: oklch(66.8% 0.196 299.0);
Tailwind
colors: {
  custom: {
    50: '#c59cfd',
    500: '#a772fa',
    950: '#000000',
  },
}
SCSS
$custom: #a772fa;
$custom-light: #c59cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a772fa",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 263.382,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66784,
    "c": 0.19621,
    "h": 299
  },
  "luminance": 0.27152
}

Semantic roles & 50–950 ramp

primary
#A772FA
secondary
#E8F6D2
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A772FA

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

Preview Lab → · Contrast checker → · Palette generator →

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