#A378F6#A378F6

#A378F6 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.182 H 297.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A378F6
RGBrgb(163, 120, 246)
HSLhsl(260, 88%, 72%)
HSVhsv(260, 51%, 96%)
CMYKcmyk(33.7%, 51.2%, 0%, 3.5%)
CIE-LABlab(59.77, 43.18, -57.42)
CIE-LCHlch(59.77, 71.84, 306.95°)
OKLaboklab(67.11% 0.0826 -0.1622)
OKLCHoklch(67.11% 0.182 297)
XYZxyz(38.4511, 27.8728, 90.5251)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A378F6 #CBF678
analogous
#788CF6 #A378F6 #E278F6
triadic
#A378F6 #F6A378 #78F6A3
tetradic
#A378F6 #F6788C #CBF678 #78F6E2
square
#A378F6 #F6788C #CBF678 #78F6E2
split-complementary
#A378F6 #F6E278 #8CF678
monochromatic
#580FE4 #7C3FF2 #A378F6 #CAB1FA #EBE2FD

Accessibility & contrast

On white

3.19
#A378F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#A378F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A378F6
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A378F6#FFFFFF#000000##000000
##A378F61.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FA
Deuteranopia (green-blind)
#538FF3
Tritanopia (blue-blind)
#9091AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a378f6;
/* rgb */ color: rgb(163, 120, 246);
/* oklch */ color: oklch(67.1% 0.182 297.0);
Tailwind
colors: {
  custom: {
    50: '#c2a0fa',
    500: '#a378f6',
    950: '#000000',
  },
}
SCSS
$custom: #a378f6;
$custom-light: #c2a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a378f6",
  "rgb": {
    "r": 163,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 260.476,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67107,
    "c": 0.18204,
    "h": 297
  },
  "luminance": 0.27873
}

Semantic roles & 50–950 ramp

primary
#A378F6
secondary
#EAF5D5
accent
#E40197
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A378F6

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

Preview Lab → · Contrast checker → · Palette generator →

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