#A772EB#A772EB

#A772EB is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.178 H 302.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A772EB
RGBrgb(167, 114, 235)
HSLhsl(266, 75%, 68%)
HSVhsv(266, 51%, 92%)
CMYKcmyk(28.9%, 51.5%, 0%, 7.8%)
CIE-LABlab(58.27, 44.77, -53.69)
CIE-LCHlch(58.27, 69.90, 309.82°)
OKLaboklab(65.89% 0.0943 -0.1512)
OKLCHoklch(65.89% 0.178 302)
XYZxyz(36.9456, 26.2482, 81.7012)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A772EB #B6EB72
analogous
#7279EB #A772EB #E372EB
triadic
#A772EB #EBA772 #72EBA7
tetradic
#A772EB #EB7279 #B6EB72 #72EBE3
square
#A772EB #EB7279 #B6EB72 #72EBE3
split-complementary
#A772EB #EBE372 #79EB72
monochromatic
#671CC6 #863CE3 #A772EB #C8A8F3 #EADDFA

Accessibility & contrast

On white

3.36
#A772EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A772EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A772EB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A772EB#FFFFFF#000000##000000
##A772EB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEF
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#9A89A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a772eb;
/* rgb */ color: rgb(167, 114, 235);
/* oklch */ color: oklch(65.9% 0.178 302.0);
Tailwind
colors: {
  custom: {
    50: '#c49cf2',
    500: '#a772eb',
    950: '#000000',
  },
}
SCSS
$custom: #a772eb;
$custom-light: #c49cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a772eb",
  "rgb": {
    "r": 167,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 266.281,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65889,
    "c": 0.17821,
    "h": 302
  },
  "luminance": 0.26248
}

Semantic roles & 50–950 ramp

primary
#A772EB
secondary
#DFEFCA
accent
#D70E7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A772EB

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

Preview Lab → · Contrast checker → · Palette generator →

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