#A378EB#A378EB

#A378EB is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.5% C 0.168 H 299.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A378EB
RGBrgb(163, 120, 235)
HSLhsl(262, 74%, 70%)
HSVhsv(262, 49%, 92%)
CMYKcmyk(30.6%, 48.9%, 0%, 7.8%)
CIE-LABlab(59.17, 40.44, -52.27)
CIE-LCHlch(59.17, 66.09, 307.72°)
OKLaboklab(66.47% 0.0817 -0.1472)
OKLCHoklch(66.47% 0.168 299)
XYZxyz(36.8125, 27.2173, 81.8952)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A378EB #C0EB78
analogous
#7886EB #A378EB #DD78EB
triadic
#A378EB #EBA378 #78EBA3
tetradic
#A378EB #EB7886 #C0EB78 #78EBDD
square
#A378EB #EB7886 #C0EB78 #78EBDD
split-complementary
#A378EB #EBDD78 #86EB78
monochromatic
#5F1ECB #7F43E3 #A378EB #C7ADF3 #ECE3FB

Accessibility & contrast

On white

3.26
#A378EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A378EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A378EB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A378EB#FFFFFF#000000##000000
##A378EB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#5C8DE8
Tritanopia (blue-blind)
#948EA7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a378eb;
/* rgb */ color: rgb(163, 120, 235);
/* oklch */ color: oklch(66.5% 0.168 299.0);
Tailwind
colors: {
  custom: {
    50: '#c1a0f2',
    500: '#a378eb',
    950: '#000000',
  },
}
SCSS
$custom: #a378eb;
$custom-light: #c1a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a378eb",
  "rgb": {
    "r": 163,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 262.435,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66468,
    "c": 0.16832,
    "h": 299
  },
  "luminance": 0.27218
}

Semantic roles & 50–950 ramp

primary
#A378EB
secondary
#E4F0CF
accent
#D60F8C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A378EB

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

Preview Lab → · Contrast checker → · Palette generator →

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