#A374DC#A374DC

#A374DC is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.0% C 0.156 H 303.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A374DC
RGBrgb(163, 116, 220)
HSLhsl(267, 60%, 66%)
HSVhsv(267, 47%, 86%)
CMYKcmyk(25.9%, 47.3%, 0%, 13.7%)
CIE-LABlab(57.51, 39.02, -46.54)
CIE-LCHlch(57.51, 60.73, 309.98°)
OKLaboklab(64.97% 0.0853 -0.1304)
OKLCHoklch(64.97% 0.156 303.2)
XYZxyz(34.2651, 25.4447, 70.8024)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374DC #ADDC74
analogous
#7479DC #A374DC #D774DC
triadic
#A374DC #DCA374 #74DCA3
tetradic
#A374DC #DC7479 #ADDC74 #74DCD7
square
#A374DC #DC7479 #ADDC74 #74DCD7
split-complementary
#A374DC #DCD774 #79DC74
monochromatic
#652BAB #8343D0 #A374DC #C3A5E8 #E4D6F5

Accessibility & contrast

On white

3.45
#A374DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A374DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374DC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374DC#FFFFFF#000000##000000
##A374DC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#628AD9
Tritanopia (blue-blind)
#99869E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a374dc;
/* rgb */ color: rgb(163, 116, 220);
/* oklch */ color: oklch(65.0% 0.156 303.2);
Tailwind
colors: {
  custom: {
    50: '#c09de7',
    500: '#a374dc',
    950: '#000000',
  },
}
SCSS
$custom: #a374dc;
$custom-light: #c09de7;
$custom-dark: #000000;
JSON
{
  "hex": "#a374dc",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 267.115,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64968,
    "c": 0.15587,
    "h": 303.2
  },
  "luminance": 0.25445
}

Semantic roles & 50–950 ramp

primary
#A374DC
secondary
#D8E7C5
accent
#C71E7B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A374DC

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

Preview Lab → · Contrast checker → · Palette generator →

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