#A378EC#A378EC

#A378EC is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.170 H 298.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A378EC
RGBrgb(163, 120, 236)
HSLhsl(262, 75%, 70%)
HSVhsv(262, 49%, 93%)
CMYKcmyk(30.9%, 49.2%, 0%, 7.5%)
CIE-LABlab(59.23, 40.68, -52.74)
CIE-LCHlch(59.23, 66.61, 307.64°)
OKLaboklab(66.53% 0.0818 -0.1486)
OKLCHoklch(66.53% 0.17 298.8)
XYZxyz(36.9574, 27.2753, 82.6582)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A378EC #C1EC78
analogous
#7887EC #A378EC #DD78EC
triadic
#A378EC #ECA378 #78ECA3
tetradic
#A378EC #EC7887 #C1EC78 #78ECDD
square
#A378EC #EC7887 #C1EC78 #78ECDD
split-complementary
#A378EC #ECDD78 #87EC78
monochromatic
#5E1DCD #7E42E4 #A378EC #C8AEF4 #ECE3FB

Accessibility & contrast

On white

3.25
#A378EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A378EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A378EC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A378EC#FFFFFF#000000##000000
##A378EC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#5B8EE9
Tritanopia (blue-blind)
#948EA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a378ec;
/* rgb */ color: rgb(163, 120, 236);
/* oklch */ color: oklch(66.5% 0.170 298.8);
Tailwind
colors: {
  custom: {
    50: '#c1a0f3',
    500: '#a378ec',
    950: '#000000',
  },
}
SCSS
$custom: #a378ec;
$custom-light: #c1a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a378ec",
  "rgb": {
    "r": 163,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 262.241,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66525,
    "c": 0.16957,
    "h": 298.8
  },
  "luminance": 0.27276
}

Semantic roles & 50–950 ramp

primary
#A378EC
secondary
#E4F0D0
accent
#D70E8D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A378EC

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

Preview Lab → · Contrast checker → · Palette generator →

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