#A374EC#A374EC

#A374EC is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.9% C 0.176 H 299.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A374EC
RGBrgb(163, 116, 236)
HSLhsl(264, 76%, 69%)
HSVhsv(264, 51%, 93%)
CMYKcmyk(30.9%, 50.8%, 0%, 7.5%)
CIE-LABlab(58.35, 42.90, -54.14)
CIE-LCHlch(58.35, 69.08, 308.40°)
OKLaboklab(65.87% 0.0869 -0.1526)
OKLCHoklch(65.87% 0.176 299.7)
XYZxyz(36.4864, 26.3332, 82.5012)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374EC #BDEC74
analogous
#7481EC #A374EC #DF74EC
triadic
#A374EC #ECA374 #74ECA3
tetradic
#A374EC #EC7481 #BDEC74 #74ECDF
square
#A374EC #EC7481 #BDEC74 #74ECDF
split-complementary
#A374EC #ECDF74 #81EC74
monochromatic
#601CCA #7F3EE5 #A374EC #C7AAF3 #EAE0FB

Accessibility & contrast

On white

3.35
#A374EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A374EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374EC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374EC#FFFFFF#000000##000000
##A374EC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#568BE9
Tritanopia (blue-blind)
#948BA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a374ec;
/* rgb */ color: rgb(163, 116, 236);
/* oklch */ color: oklch(65.9% 0.176 299.7);
Tailwind
colors: {
  custom: {
    50: '#c19df3',
    500: '#a374ec',
    950: '#000000',
  },
}
SCSS
$custom: #a374ec;
$custom-light: #c19df3;
$custom-dark: #000000;
JSON
{
  "hex": "#a374ec",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 263.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65872,
    "c": 0.17565,
    "h": 299.7
  },
  "luminance": 0.26333
}

Semantic roles & 50–950 ramp

primary
#A374EC
secondary
#E2EFCC
accent
#D80D89
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A374EC

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

Preview Lab → · Contrast checker → · Palette generator →

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