#A378F8#A378F8

#A378F8 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.185 H 296.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A378F8
RGBrgb(163, 120, 248)
HSLhsl(260, 90%, 72%)
HSVhsv(260, 52%, 97%)
CMYKcmyk(34.3%, 51.6%, 0%, 2.7%)
CIE-LABlab(59.89, 43.69, -58.34)
CIE-LCHlch(59.89, 72.89, 306.83°)
OKLaboklab(67.23% 0.0827 -0.165)
OKLCHoklch(67.23% 0.185 296.6)
XYZxyz(38.7598, 27.9962, 92.1505)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A378F8 #CDF878
analogous
#788DF8 #A378F8 #E378F8
triadic
#A378F8 #F8A378 #78F8A3
tetradic
#A378F8 #F8788D #CDF878 #78F8E3
square
#A378F8 #F8788D #CDF878 #78F8E3
split-complementary
#A378F8 #F8E378 #8DF878
monochromatic
#560CE9 #7B3EF5 #A378F8 #CBB2FB #EBE2FD

Accessibility & contrast

On white

3.18
#A378F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A378F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A378F8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A378F8#FFFFFF#000000##000000
##A378F81.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FC
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#9091AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a378f8;
/* rgb */ color: rgb(163, 120, 248);
/* oklch */ color: oklch(67.2% 0.185 296.6);
Tailwind
colors: {
  custom: {
    50: '#c2a0fb',
    500: '#a378f8',
    950: '#000000',
  },
}
SCSS
$custom: #a378f8;
$custom-light: #c2a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a378f8",
  "rgb": {
    "r": 163,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 260.156,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67226,
    "c": 0.18452,
    "h": 296.6
  },
  "luminance": 0.27997
}

Semantic roles & 50–950 ramp

primary
#A378F8
secondary
#EBF6D5
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A378F8

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

Preview Lab → · Contrast checker → · Palette generator →

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