#A772F9#A772F9

#A772F9 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.195 H 299.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A772F9
RGBrgb(167, 114, 249)
HSLhsl(264, 92%, 71%)
HSVhsv(264, 54%, 98%)
CMYKcmyk(32.9%, 54.2%, 0%, 2.4%)
CIE-LABlab(59.06, 48.18, -60.20)
CIE-LCHlch(59.06, 77.10, 308.67°)
OKLaboklab(66.72% 0.0951 -0.1703)
OKLCHoklch(66.72% 0.195 299.2)
XYZxyz(39.0484, 27.0893, 92.7757)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772F9 #C4F972
analogous
#7280F9 #A772F9 #EB72F9
triadic
#A772F9 #F9A772 #72F9A7
tetradic
#A772F9 #F97280 #C4F972 #72F9EB
square
#A772F9 #F97280 #C4F972 #72F9EB
split-complementary
#A772F9 #F9EB72 #80F972
monochromatic
#610AE7 #8237F7 #A772F9 #CCADFB #EDE2FE

Accessibility & contrast

On white

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

On black

6.42
#A772F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772F9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772F9#FFFFFF#000000##000000
##A772F91.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFE
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#968DAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a772f9;
/* rgb */ color: rgb(167, 114, 249);
/* oklch */ color: oklch(66.7% 0.195 299.2);
Tailwind
colors: {
  custom: {
    50: '#c59cfc',
    500: '#a772f9',
    950: '#000000',
  },
}
SCSS
$custom: #a772f9;
$custom-light: #c59cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a772f9",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 263.556,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66723,
    "c": 0.19501,
    "h": 299.2
  },
  "luminance": 0.2709
}

Semantic roles & 50–950 ramp

primary
#A772F9
secondary
#E7F5D2
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A772F9

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

Preview Lab → · Contrast checker → · Palette generator →

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