#A78AFD#A78AFD

#A78AFD is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.9% C 0.165 H 293.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A78AFD
RGBrgb(167, 138, 253)
HSLhsl(255, 97%, 77%)
HSVhsv(255, 45%, 99%)
CMYKcmyk(34%, 45.5%, 0%, 0.8%)
CIE-LABlab(64.55, 35.89, -53.64)
CIE-LCHlch(64.55, 64.54, 303.79°)
OKLaboklab(70.89% 0.0653 -0.1511)
OKLCHoklch(70.89% 0.165 293.4)
XYZxyz(42.7499, 33.4834, 97.1201)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78AFD #E0FD8A
analogous
#8AA7FD #A78AFD #E08AFD
triadic
#A78AFD #FDA78A #8AFDA7
tetradic
#A78AFD #FD8AA7 #E0FD8A #8AFDE0
square
#A78AFD #FD8AA7 #E0FD8A #8AFDE0
split-complementary
#A78AFD #FDE08A #A7FD8A
monochromatic
#4C12FB #7A4EFC #A78AFD #D4C6FE #E8E1FE

Accessibility & contrast

On white

2.73
#A78AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#A78AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78AFD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78AFD#FFFFFF#000000##000000
##A78AFD1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#679BFA
Tritanopia (blue-blind)
#93A0B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a78afd;
/* rgb */ color: rgb(167, 138, 253);
/* oklch */ color: oklch(70.9% 0.165 293.4);
Tailwind
colors: {
  custom: {
    50: '#c4acfe',
    500: '#a78afd',
    950: '#000000',
  },
}
SCSS
$custom: #a78afd;
$custom-light: #c4acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a78afd",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 255.13,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.70887,
    "c": 0.16457,
    "h": 293.4
  },
  "luminance": 0.33484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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