#A378EF#A378EF

#A378EF is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.7% C 0.173 H 298.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A378EF
RGBrgb(163, 120, 239)
HSLhsl(262, 79%, 70%)
HSVhsv(262, 50%, 94%)
CMYKcmyk(31.8%, 49.8%, 0%, 6.3%)
CIE-LABlab(59.39, 41.43, -54.15)
CIE-LCHlch(59.39, 68.18, 307.42°)
OKLaboklab(66.7% 0.082 -0.1527)
OKLCHoklch(66.7% 0.173 298.2)
XYZxyz(37.3969, 27.4511, 84.9730)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A378EF #C4EF78
analogous
#7888EF #A378EF #DF78EF
triadic
#A378EF #EFA378 #78EFA3
tetradic
#A378EF #EF7888 #C4EF78 #78EFDF
square
#A378EF #EF7888 #C4EF78 #78EFDF
split-complementary
#A378EF #EFDF78 #88EF78
monochromatic
#5C19D4 #7E41E9 #A378EF #C8AFF5 #ECE4FC

Accessibility & contrast

On white

3.24
#A378EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#A378EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A378EF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A378EF#FFFFFF#000000##000000
##A378EF1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#938FA8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a378ef;
/* rgb */ color: rgb(163, 120, 239);
/* oklch */ color: oklch(66.7% 0.173 298.2);
Tailwind
colors: {
  custom: {
    50: '#c1a0f5',
    500: '#a378ef',
    950: '#000000',
  },
}
SCSS
$custom: #a378ef;
$custom-light: #c1a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a378ef",
  "rgb": {
    "r": 163,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 261.681,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66697,
    "c": 0.17332,
    "h": 298.2
  },
  "luminance": 0.27451
}

Semantic roles & 50–950 ramp

primary
#A378EF
secondary
#E6F2D1
accent
#DB0A90
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #A378EF

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

Preview Lab → · Contrast checker → · Palette generator →

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