#A78DE3#A78DE3

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

Color values

HEX#A78DE3
RGBrgb(167, 141, 227)
HSLhsl(258, 61%, 72%)
HSVhsv(258, 38%, 89%)
CMYKcmyk(26.4%, 37.9%, 0%, 11%)
CIE-LABlab(64.01, 27.71, -40.18)
CIE-LCHlch(64.01, 48.81, 304.59°)
OKLaboklab(70.07% 0.0569 -0.1119)
OKLCHoklch(70.07% 0.126 297)
XYZxyz(39.3231, 32.8109, 76.9196)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78DE3 #C9E38D
analogous
#8D9EE3 #A78DE3 #D28DE3
triadic
#A78DE3 #E3A78D #8DE3A7
tetradic
#A78DE3 #E38D9E #C9E38D #8DE3D2
square
#A78DE3 #E38D9E #C9E38D #8DE3D2
split-complementary
#A78DE3 #E3D28D #9EE38D
monochromatic
#5D30C5 #815CD7 #A78DE3 #CDBEEF #ECE6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78DE3#FFFFFF#000000##000000
##A78DE31.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)
#769BE6
Deuteranopia (green-blind)
#7A9AE1
Tritanopia (blue-blind)
#9B9CAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a78de3;
/* rgb */ color: rgb(167, 141, 227);
/* oklch */ color: oklch(70.1% 0.126 297.0);
Tailwind
colors: {
  custom: {
    50: '#c3aeec',
    500: '#a78de3',
    950: '#000000',
  },
}
SCSS
$custom: #a78de3;
$custom-light: #c3aeec;
$custom-dark: #000000;
JSON
{
  "hex": "#a78de3",
  "rgb": {
    "r": 167,
    "g": 141,
    "b": 227
  },
  "hsl": {
    "h": 258.14,
    "s": 60.563,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70069,
    "c": 0.12559,
    "h": 297
  },
  "luminance": 0.32811
}

Semantic roles & 50–950 ramp

primary
#A78DE3
secondary
#EAF0DB
accent
#C81D95
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A78DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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