#A374DF#A374DF

#A374DF is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.1% C 0.160 H 302.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A374DF
RGBrgb(163, 116, 223)
HSLhsl(266, 63%, 66%)
HSVhsv(266, 48%, 87%)
CMYKcmyk(26.9%, 48%, 0%, 12.5%)
CIE-LABlab(57.66, 39.74, -47.98)
CIE-LCHlch(57.66, 62.30, 309.63°)
OKLaboklab(65.13% 0.0857 -0.1346)
OKLCHoklch(65.13% 0.16 302.5)
XYZxyz(34.6660, 25.6050, 72.9137)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374DF #B0DF74
analogous
#747BDF #A374DF #D974DF
triadic
#A374DF #DFA374 #74DFA3
tetradic
#A374DF #DF747B #B0DF74 #74DFD9
square
#A374DF #DF747B #B0DF74 #74DFD9
split-complementary
#A374DF #DFD974 #7BDF74
monochromatic
#6429B0 #8242D4 #A374DF #C4A6EA #E5D7F6

Accessibility & contrast

On white

3.43
#A374DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A374DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374DF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374DF#FFFFFF#000000##000000
##A374DF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE3
Deuteranopia (green-blind)
#608ADC
Tritanopia (blue-blind)
#98879F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a374df;
/* rgb */ color: rgb(163, 116, 223);
/* oklch */ color: oklch(65.1% 0.160 302.5);
Tailwind
colors: {
  custom: {
    50: '#c19de9',
    500: '#a374df',
    950: '#000000',
  },
}
SCSS
$custom: #a374df;
$custom-light: #c19de9;
$custom-dark: #000000;
JSON
{
  "hex": "#a374df",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 266.355,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65133,
    "c": 0.15959,
    "h": 302.5
  },
  "luminance": 0.25605
}

Semantic roles & 50–950 ramp

primary
#A374DF
secondary
#DAE9C6
accent
#CA1B7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A374DF

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

Preview Lab → · Contrast checker → · Palette generator →

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