#A37AF9#A37AF9

#A37AF9 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.183 H 296.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A37AF9
RGBrgb(163, 122, 249)
HSLhsl(259, 91%, 73%)
HSVhsv(259, 51%, 98%)
CMYKcmyk(34.5%, 51%, 0%, 2.4%)
CIE-LABlab(60.38, 42.83, -58.11)
CIE-LCHlch(60.38, 72.19, 306.40°)
OKLaboklab(67.61% 0.0803 -0.1643)
OKLCHoklch(67.61% 0.183 296)
XYZxyz(39.1584, 28.5445, 93.0507)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37AF9 #D0F97A
analogous
#7A90F9 #A37AF9 #E27AF9
triadic
#A37AF9 #F9A37A #7AF9A3
tetradic
#A37AF9 #F97A90 #D0F97A #7AF9E2
square
#A37AF9 #F97A90 #D0F97A #7AF9E2
split-complementary
#A37AF9 #F9E27A #90F97A
monochromatic
#540BEE #7A3FF6 #A37AF9 #CCB5FC #EBE2FE

Accessibility & contrast

On white

3.13
#A37AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A37AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37AF9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37AF9#FFFFFF#000000##000000
##A37AF91.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FD
Deuteranopia (green-blind)
#5390F6
Tritanopia (blue-blind)
#8F93AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a37af9;
/* rgb */ color: rgb(163, 122, 249);
/* oklch */ color: oklch(67.6% 0.183 296.0);
Tailwind
colors: {
  custom: {
    50: '#c2a1fc',
    500: '#a37af9',
    950: '#000000',
  },
}
SCSS
$custom: #a37af9;
$custom-light: #c2a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a37af9",
  "rgb": {
    "r": 163,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 259.37,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6761,
    "c": 0.18283,
    "h": 296
  },
  "luminance": 0.28545
}

Semantic roles & 50–950 ramp

primary
#A37AF9
secondary
#EBF6D5
accent
#E6009B
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A37AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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