#A378F5#A378F5

#A378F5 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.181 H 297.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A378F5
RGBrgb(163, 120, 245)
HSLhsl(261, 86%, 72%)
HSVhsv(261, 51%, 96%)
CMYKcmyk(33.5%, 51%, 0%, 3.9%)
CIE-LABlab(59.72, 42.93, -56.95)
CIE-LCHlch(59.72, 71.32, 307.01°)
OKLaboklab(67.05% 0.0825 -0.1609)
OKLCHoklch(67.05% 0.181 297.1)
XYZxyz(38.2981, 27.8115, 89.7189)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A378F5 #CAF578
analogous
#788CF5 #A378F5 #E278F5
triadic
#A378F5 #F5A378 #78F5A3
tetradic
#A378F5 #F5788C #CAF578 #78F5E2
square
#A378F5 #F5788C #CAF578 #78F5E2
split-complementary
#A378F5 #F5E278 #8CF578
monochromatic
#5911E2 #7C3FF1 #A378F5 #CAB1F9 #ECE3FD

Accessibility & contrast

On white

3.20
#A378F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A378F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A378F5
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A378F5#FFFFFF#000000##000000
##A378F51.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#548EF2
Tritanopia (blue-blind)
#9190AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a378f5;
/* rgb */ color: rgb(163, 120, 245);
/* oklch */ color: oklch(67.0% 0.181 297.1);
Tailwind
colors: {
  custom: {
    50: '#c2a0f9',
    500: '#a378f5',
    950: '#000000',
  },
}
SCSS
$custom: #a378f5;
$custom-light: #c2a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a378f5",
  "rgb": {
    "r": 163,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 260.64,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67048,
    "c": 0.1808,
    "h": 297.1
  },
  "luminance": 0.27812
}

Semantic roles & 50–950 ramp

primary
#A378F5
secondary
#E9F4D4
accent
#E30396
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A378F5

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

Preview Lab → · Contrast checker → · Palette generator →

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