#A788FB#A788FB

#A788FB is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.4% C 0.165 H 294.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A788FB
RGBrgb(167, 136, 251)
HSLhsl(256, 93%, 76%)
HSVhsv(256, 46%, 98%)
CMYKcmyk(33.5%, 45.8%, 0%, 1.6%)
CIE-LABlab(63.99, 36.51, -53.44)
CIE-LCHlch(63.99, 64.72, 304.34°)
OKLaboklab(70.43% 0.0676 -0.1505)
OKLCHoklch(70.43% 0.165 294.2)
XYZxyz(42.1487, 32.7881, 95.3562)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A788FB #DCFB88
analogous
#88A2FB #A788FB #E088FB
triadic
#A788FB #FBA788 #88FBA7
tetradic
#A788FB #FB88A2 #DCFB88 #88FBE0
square
#A788FB #FB88A2 #DCFB88 #88FBE0
split-complementary
#A788FB #FBE088 #A2FB88
monochromatic
#4F12F7 #7B4DF9 #A788FB #D3C3FD #E9E1FE

Accessibility & contrast

On white

2.78
#A788FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#A788FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A788FB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A788FB#FFFFFF#000000##000000
##A788FB1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#939EB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a788fb;
/* rgb */ color: rgb(167, 136, 251);
/* oklch */ color: oklch(70.4% 0.165 294.2);
Tailwind
colors: {
  custom: {
    50: '#c4abfd',
    500: '#a788fb',
    950: '#000000',
  },
}
SCSS
$custom: #a788fb;
$custom-light: #c4abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a788fb",
  "rgb": {
    "r": 167,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 256.174,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70431,
    "c": 0.16496,
    "h": 294.2
  },
  "luminance": 0.32789
}

Semantic roles & 50–950 ramp

primary
#A788FB
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A788FB

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

Preview Lab → · Contrast checker → · Palette generator →

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