#A772F7#A772F7

#A772F7 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.193 H 299.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A772F7
RGBrgb(167, 114, 247)
HSLhsl(264, 89%, 71%)
HSVhsv(264, 54%, 97%)
CMYKcmyk(32.4%, 53.8%, 0%, 3.1%)
CIE-LABlab(58.94, 47.69, -59.28)
CIE-LCHlch(58.94, 76.08, 308.82°)
OKLaboklab(66.6% 0.095 -0.1676)
OKLCHoklch(66.6% 0.193 299.5)
XYZxyz(38.7381, 26.9652, 91.1416)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772F7 #C2F772
analogous
#727FF7 #A772F7 #EA72F7
triadic
#A772F7 #F7A772 #72F7A7
tetradic
#A772F7 #F7727F #C2F772 #72F7EA
square
#A772F7 #F7727F #C2F772 #72F7EA
split-complementary
#A772F7 #F7EA72 #7FF772
monochromatic
#620DE2 #8338F4 #A772F7 #CBACFA #EDE2FD

Accessibility & contrast

On white

3.28
#A772F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A772F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772F7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772F7#FFFFFF#000000##000000
##A772F71.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8EFB
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#968CAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a772f7;
/* rgb */ color: rgb(167, 114, 247);
/* oklch */ color: oklch(66.6% 0.193 299.5);
Tailwind
colors: {
  custom: {
    50: '#c59cfa',
    500: '#a772f7',
    950: '#000000',
  },
}
SCSS
$custom: #a772f7;
$custom-light: #c59cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a772f7",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 263.91,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66601,
    "c": 0.19262,
    "h": 299.5
  },
  "luminance": 0.26966
}

Semantic roles & 50–950 ramp

primary
#A772F7
secondary
#E6F4D1
accent
#E6008A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A772F7

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

Preview Lab → · Contrast checker → · Palette generator →

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