#A37AFC#A37AFC

#A37AFC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.187 H 295.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A37AFC
RGBrgb(163, 122, 252)
HSLhsl(259, 96%, 73%)
HSVhsv(259, 52%, 99%)
CMYKcmyk(35.3%, 51.6%, 0%, 1.2%)
CIE-LABlab(60.55, 43.60, -59.49)
CIE-LCHlch(60.55, 73.76, 306.23°)
OKLaboklab(67.79% 0.0805 -0.1683)
OKLCHoklch(67.79% 0.187 295.5)
XYZxyz(39.6300, 28.7332, 95.5347)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37AFC #D3FC7A
analogous
#7A92FC #A37AFC #E47AFC
triadic
#A37AFC #FCA37A #7AFCA3
tetradic
#A37AFC #FC7A92 #D3FC7A #7AFCE4
square
#A37AFC #FC7A92 #D3FC7A #7AFCE4
split-complementary
#A37AFC #FCE47A #92FC7A
monochromatic
#5106F6 #7A3EFB #A37AFC #CCB6FD #EAE1FE

Accessibility & contrast

On white

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

On black

6.75
#A37AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37AFC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37AFC#FFFFFF#000000##000000
##A37AFC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#8E94B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a37afc;
/* rgb */ color: rgb(163, 122, 252);
/* oklch */ color: oklch(67.8% 0.187 295.5);
Tailwind
colors: {
  custom: {
    50: '#c2a1fe',
    500: '#a37afc',
    950: '#000000',
  },
}
SCSS
$custom: #a37afc;
$custom-light: #c2a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a37afc",
  "rgb": {
    "r": 163,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 258.923,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67789,
    "c": 0.18657,
    "h": 295.5
  },
  "luminance": 0.28734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A37AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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