#A772FC#A772FC

#A772FC is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.199 H 298.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A772FC
RGBrgb(167, 114, 252)
HSLhsl(263, 96%, 72%)
HSVhsv(263, 55%, 99%)
CMYKcmyk(33.7%, 54.8%, 0%, 1.2%)
CIE-LABlab(59.23, 48.92, -61.58)
CIE-LCHlch(59.23, 78.64, 308.47°)
OKLaboklab(66.91% 0.0951 -0.1743)
OKLCHoklch(66.91% 0.199 298.6)
XYZxyz(39.5200, 27.2780, 95.2597)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772FC #C7FC72
analogous
#7282FC #A772FC #EC72FC
triadic
#A772FC #FCA772 #72FCA7
tetradic
#A772FC #FC7282 #C7FC72 #72FCEC
square
#A772FC #FC7282 #C7FC72 #72FCEC
split-complementary
#A772FC #FCEC72 #82FC72
monochromatic
#5F05EF #8236FB #A772FC #CCAEFD #ECE1FE

Accessibility & contrast

On white

3.25
#A772FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A772FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772FC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772FC#FFFFFF#000000##000000
##A772FC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#488DF9
Tritanopia (blue-blind)
#948EAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a772fc;
/* rgb */ color: rgb(167, 114, 252);
/* oklch */ color: oklch(66.9% 0.199 298.6);
Tailwind
colors: {
  custom: {
    50: '#c59cfe',
    500: '#a772fc',
    950: '#000000',
  },
}
SCSS
$custom: #a772fc;
$custom-light: #c59cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a772fc",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 263.043,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66907,
    "c": 0.19859,
    "h": 298.6
  },
  "luminance": 0.27278
}

Semantic roles & 50–950 ramp

primary
#A772FC
secondary
#E9F6D3
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A772FC

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

Preview Lab → · Contrast checker → · Palette generator →

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