#A378F2#A378F2

#A378F2 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.177 H 297.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A378F2
RGBrgb(163, 120, 242)
HSLhsl(261, 82%, 71%)
HSVhsv(261, 50%, 95%)
CMYKcmyk(32.6%, 50.4%, 0%, 5.1%)
CIE-LABlab(59.55, 42.18, -55.56)
CIE-LCHlch(59.55, 69.75, 307.21°)
OKLaboklab(66.87% 0.0823 -0.1568)
OKLCHoklch(66.87% 0.177 297.7)
XYZxyz(37.8438, 27.6298, 87.3265)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A378F2 #C7F278
analogous
#788AF2 #A378F2 #E078F2
triadic
#A378F2 #F2A378 #78F2A3
tetradic
#A378F2 #F2788A #C7F278 #78F2E0
square
#A378F2 #F2788A #C7F278 #78F2E0
split-complementary
#A378F2 #F2E078 #8AF278
monochromatic
#5B15DB #7D40ED #A378F2 #C9B0F7 #ECE3FC

Accessibility & contrast

On white

3.22
#A378F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A378F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A378F2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A378F2#FFFFFF#000000##000000
##A378F21.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#9290AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a378f2;
/* rgb */ color: rgb(163, 120, 242);
/* oklch */ color: oklch(66.9% 0.177 297.7);
Tailwind
colors: {
  custom: {
    50: '#c2a0f7',
    500: '#a378f2',
    950: '#000000',
  },
}
SCSS
$custom: #a378f2;
$custom-light: #c2a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a378f2",
  "rgb": {
    "r": 163,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 261.148,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66872,
    "c": 0.17706,
    "h": 297.7
  },
  "luminance": 0.2763
}

Semantic roles & 50–950 ramp

primary
#A378F2
secondary
#E8F3D3
accent
#DF0793
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A378F2

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

Preview Lab → · Contrast checker → · Palette generator →

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