#A378DC#A378DC

#A378DC is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.6% C 0.149 H 302.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A378DC
RGBrgb(163, 120, 220)
HSLhsl(266, 59%, 67%)
HSVhsv(266, 45%, 86%)
CMYKcmyk(25.9%, 45.5%, 0%, 13.7%)
CIE-LABlab(58.40, 36.78, -45.12)
CIE-LCHlch(58.40, 58.21, 309.19°)
OKLaboklab(65.64% 0.0799 -0.1263)
OKLCHoklch(65.64% 0.149 302.3)
XYZxyz(34.7361, 26.3868, 70.9594)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A378DC #B1DC78
analogous
#787FDC #A378DC #D578DC
triadic
#A378DC #DCA378 #78DCA3
tetradic
#A378DC #DC787F #B1DC78 #78DCD5
square
#A378DC #DC787F #B1DC78 #78DCD5
split-complementary
#A378DC #DCD578 #7FDC78
monochromatic
#642DAD #8247CF #A378DC #C4A9E9 #E5D9F5

Accessibility & contrast

On white

3.35
#A378DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A378DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A378DC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A378DC#FFFFFF#000000##000000
##A378DC1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE0
Deuteranopia (green-blind)
#668CD9
Tritanopia (blue-blind)
#99899F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a378dc;
/* rgb */ color: rgb(163, 120, 220);
/* oklch */ color: oklch(65.6% 0.149 302.3);
Tailwind
colors: {
  custom: {
    50: '#c0a0e7',
    500: '#a378dc',
    950: '#000000',
  },
}
SCSS
$custom: #a378dc;
$custom-light: #c0a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a378dc",
  "rgb": {
    "r": 163,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 265.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65639,
    "c": 0.14947,
    "h": 302.3
  },
  "luminance": 0.26387
}

Semantic roles & 50–950 ramp

primary
#A378DC
secondary
#DAE8C8
accent
#C61F7E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A378DC

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

Preview Lab → · Contrast checker → · Palette generator →

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