#A772F8#A772F8

#A772F8 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.7% C 0.194 H 299.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A772F8
RGBrgb(167, 114, 248)
HSLhsl(264, 91%, 71%)
HSVhsv(264, 54%, 97%)
CMYKcmyk(32.7%, 54%, 0%, 2.7%)
CIE-LABlab(59.00, 47.93, -59.74)
CIE-LCHlch(59.00, 76.59, 308.74°)
OKLaboklab(66.66% 0.095 -0.1689)
OKLCHoklch(66.66% 0.194 299.4)
XYZxyz(38.8929, 27.0271, 91.9564)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772F8 #C3F872
analogous
#7280F8 #A772F8 #EA72F8
triadic
#A772F8 #F8A772 #72F8A7
tetradic
#A772F8 #F87280 #C3F872 #72F8EA
square
#A772F8 #F87280 #C3F872 #72F8EA
split-complementary
#A772F8 #F8EA72 #80F872
monochromatic
#610BE4 #8338F5 #A772F8 #CBACFB #EDE2FE

Accessibility & contrast

On white

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

On black

6.41
#A772F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772F8
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772F8#FFFFFF#000000##000000
##A772F81.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFD
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#968DAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a772f8;
/* rgb */ color: rgb(167, 114, 248);
/* oklch */ color: oklch(66.7% 0.194 299.4);
Tailwind
colors: {
  custom: {
    50: '#c59cfb',
    500: '#a772f8',
    950: '#000000',
  },
}
SCSS
$custom: #a772f8;
$custom-light: #c59cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a772f8",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 263.731,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66662,
    "c": 0.19382,
    "h": 299.4
  },
  "luminance": 0.27027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A772F8

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

Preview Lab → · Contrast checker → · Palette generator →

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