#A772FB#A772FB

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

Color values

HEX#A772FB
RGBrgb(167, 114, 251)
HSLhsl(263, 94%, 72%)
HSVhsv(263, 55%, 98%)
CMYKcmyk(33.5%, 54.6%, 0%, 1.6%)
CIE-LABlab(59.17, 48.67, -61.12)
CIE-LCHlch(59.17, 78.13, 308.53°)
OKLaboklab(66.85% 0.0951 -0.173)
OKLCHoklch(66.85% 0.197 298.8)
XYZxyz(39.3620, 27.2148, 94.4273)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772FB #C6FB72
analogous
#7282FB #A772FB #EC72FB
triadic
#A772FB #FBA772 #72FBA7
tetradic
#A772FB #FB7282 #C6FB72 #72FBEC
square
#A772FB #FB7282 #C6FB72 #72FBEC
split-complementary
#A772FB #FBEC72 #82FB72
monochromatic
#5F07EC #8236F9 #A772FB #CCAEFD #ECE1FE

Accessibility & contrast

On white

3.26
#A772FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A772FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772FB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772FB#FFFFFF#000000##000000
##A772FB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#378EFF
Deuteranopia (green-blind)
#498DF8
Tritanopia (blue-blind)
#958EAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a772fb;
/* rgb */ color: rgb(167, 114, 251);
/* oklch */ color: oklch(66.8% 0.197 298.8);
Tailwind
colors: {
  custom: {
    50: '#c59cfd',
    500: '#a772fb',
    950: '#000000',
  },
}
SCSS
$custom: #a772fb;
$custom-light: #c59cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a772fb",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 263.212,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66845,
    "c": 0.1974,
    "h": 298.8
  },
  "luminance": 0.27215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A772FB

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

Preview Lab → · Contrast checker → · Palette generator →

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