#A78CD2#A78CD2

#A78CD2 is a light, moderate violet. Relative luminance 0.316; OKLCH L 69.1% C 0.104 H 301.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A78CD2
RGBrgb(167, 140, 210)
HSLhsl(263, 44%, 69%)
HSVhsv(263, 33%, 82%)
CMYKcmyk(20.5%, 33.3%, 0%, 17.6%)
CIE-LABlab(63.03, 24.25, -32.24)
CIE-LCHlch(63.03, 40.34, 306.94°)
OKLaboklab(69.08% 0.0545 -0.0891)
OKLCHoklch(69.08% 0.104 301.4)
XYZxyz(36.9448, 31.6248, 65.1181)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78CD2 #B7D28C
analogous
#8C94D2 #A78CD2 #CA8CD2
triadic
#A78CD2 #D2A78C #8CD2A7
tetradic
#A78CD2 #D28C94 #B7D28C #8CD2CA
square
#A78CD2 #D28C94 #B7D28C #8CD2CA
split-complementary
#A78CD2 #D2CA8C #94D28C
monochromatic
#6640A4 #8560C1 #A78CD2 #C9B8E3 #EAE4F4

Accessibility & contrast

On white

2.87
#A78CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#A78CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78CD2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78CD2#FFFFFF#000000##000000
##A78CD21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C98D5
Deuteranopia (green-blind)
#8198D0
Tritanopia (blue-blind)
#A097A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a78cd2;
/* rgb */ color: rgb(167, 140, 210);
/* oklch */ color: oklch(69.1% 0.104 301.4);
Tailwind
colors: {
  custom: {
    50: '#c2ade0',
    500: '#a78cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a78cd2;
$custom-light: #c2ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#a78cd2",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 263.143,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69084,
    "c": 0.10445,
    "h": 301.4
  },
  "luminance": 0.31625
}

Semantic roles & 50–950 ramp

primary
#A78CD2
secondary
#DFE7D2
accent
#B72F82
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A78CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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