#A78CDC#A78CDC

#A78CDC is a light, moderate violet. Relative luminance 0.321; OKLCH L 69.5% C 0.118 H 298.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#A78CDC
RGBrgb(167, 140, 220)
HSLhsl(260, 53%, 71%)
HSVhsv(260, 36%, 86%)
CMYKcmyk(24.1%, 36.4%, 0%, 13.7%)
CIE-LABlab(63.46, 26.59, -37.15)
CIE-LCHlch(63.46, 45.69, 305.59°)
OKLaboklab(69.55% 0.0568 -0.1032)
OKLCHoklch(69.55% 0.118 298.8)
XYZxyz(38.2298, 32.1387, 71.8856)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78CDC #C1DC8C
analogous
#8C99DC #A78CDC #CF8CDC
triadic
#A78CDC #DCA78C #8CDCA7
tetradic
#A78CDC #DC8C99 #C1DC8C #8CDCCF
square
#A78CDC #DC8C99 #C1DC8C #8CDCCF
split-complementary
#A78CDC #DCCF8C #99DC8C
monochromatic
#6237B6 #835DCE #A78CDC #CBBBEA #EDE8F8

Accessibility & contrast

On white

2.83
#A78CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#A78CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78CDC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78CDC#FFFFFF#000000##000000
##A78CDC1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#789ADF
Deuteranopia (green-blind)
#7D99DA
Tritanopia (blue-blind)
#9D99AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a78cdc;
/* rgb */ color: rgb(167, 140, 220);
/* oklch */ color: oklch(69.5% 0.118 298.8);
Tailwind
colors: {
  custom: {
    50: '#c2aee7',
    500: '#a78cdc',
    950: '#000000',
  },
}
SCSS
$custom: #a78cdc;
$custom-light: #c2aee7;
$custom-dark: #000000;
JSON
{
  "hex": "#a78cdc",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 260.25,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69548,
    "c": 0.11783,
    "h": 298.8
  },
  "luminance": 0.32139
}

Semantic roles & 50–950 ramp

primary
#A78CDC
secondary
#E5EDD7
accent
#C1258C
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A78CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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