#A37AFD#A37AFD

#A37AFD is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.8% C 0.188 H 295.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A37AFD
RGBrgb(163, 122, 253)
HSLhsl(259, 97%, 74%)
HSVhsv(259, 52%, 99%)
CMYKcmyk(35.6%, 51.8%, 0%, 0.8%)
CIE-LABlab(60.60, 43.85, -59.95)
CIE-LCHlch(60.60, 74.28, 306.18°)
OKLaboklab(67.85% 0.0805 -0.1697)
OKLCHoklch(67.85% 0.188 295.4)
XYZxyz(39.7889, 28.7967, 96.3715)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37AFD #D4FD7A
analogous
#7A92FD #A37AFD #E57AFD
triadic
#A37AFD #FDA37A #7AFDA3
tetradic
#A37AFD #FD7A92 #D4FD7A #7AFDE5
square
#A37AFD #FD7A92 #D4FD7A #7AFDE5
split-complementary
#A37AFD #FDE57A #92FD7A
monochromatic
#5004F9 #793EFC #A37AFD #CDB6FE #EAE1FF

Accessibility & contrast

On white

3.11
#A37AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A37AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37AFD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37AFD#FFFFFF#000000##000000
##A37AFD1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#8E94B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a37afd;
/* rgb */ color: rgb(163, 122, 253);
/* oklch */ color: oklch(67.8% 0.188 295.4);
Tailwind
colors: {
  custom: {
    50: '#c2a1ff',
    500: '#a37afd',
    950: '#000000',
  },
}
SCSS
$custom: #a37afd;
$custom-light: #c2a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a37afd",
  "rgb": {
    "r": 163,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 258.779,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67849,
    "c": 0.18782,
    "h": 295.4
  },
  "luminance": 0.28797
}

Semantic roles & 50–950 ramp

primary
#A37AFD
secondary
#ECF7D4
accent
#E6009E
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A37AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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