#A788FD#A788FD

#A788FD is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.5% C 0.168 H 293.9°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A788FD
RGBrgb(167, 136, 253)
HSLhsl(256, 97%, 76%)
HSVhsv(256, 46%, 99%)
CMYKcmyk(34%, 46.2%, 0%, 0.8%)
CIE-LABlab(64.09, 37.02, -54.37)
CIE-LCHlch(64.09, 65.77, 304.25°)
OKLaboklab(70.54% 0.0678 -0.1532)
OKLCHoklch(70.54% 0.168 293.9)
XYZxyz(42.4656, 32.9148, 97.0253)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A788FD #DEFD88
analogous
#88A4FD #A788FD #E188FD
triadic
#A788FD #FDA788 #88FDA7
tetradic
#A788FD #FD88A4 #DEFD88 #88FDE1
square
#A788FD #FD88A4 #DEFD88 #88FDE1
split-complementary
#A788FD #FDE188 #A4FD88
monochromatic
#4E10FB #7A4CFC #A788FD #D4C4FE #E9E1FE

Accessibility & contrast

On white

2.77
#A788FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#A788FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A788FD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A788FD#FFFFFF#000000##000000
##A788FD1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#939EB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a788fd;
/* rgb */ color: rgb(167, 136, 253);
/* oklch */ color: oklch(70.5% 0.168 293.9);
Tailwind
colors: {
  custom: {
    50: '#c4abfe',
    500: '#a788fd',
    950: '#000000',
  },
}
SCSS
$custom: #a788fd;
$custom-light: #c4abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a788fd",
  "rgb": {
    "r": 167,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 255.897,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70542,
    "c": 0.16755,
    "h": 293.9
  },
  "luminance": 0.32916
}

Semantic roles & 50–950 ramp

primary
#A788FD
secondary
#EEF7D4
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A788FD

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

Preview Lab → · Contrast checker → · Palette generator →

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