#A37AFA#A37AFA

#A37AFA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.184 H 295.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A37AFA
RGBrgb(163, 122, 250)
HSLhsl(259, 93%, 73%)
HSVhsv(259, 51%, 98%)
CMYKcmyk(34.8%, 51.2%, 0%, 2%)
CIE-LABlab(60.43, 43.09, -58.57)
CIE-LCHlch(60.43, 72.71, 306.34°)
OKLaboklab(67.67% 0.0803 -0.1656)
OKLCHoklch(67.67% 0.184 295.9)
XYZxyz(39.3147, 28.6071, 93.8743)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37AFA #D1FA7A
analogous
#7A91FA #A37AFA #E37AFA
triadic
#A37AFA #FAA37A #7AFAA3
tetradic
#A37AFA #FA7A91 #D1FA7A #7AFAE3
square
#A37AFA #FA7A91 #D1FA7A #7AFAE3
split-complementary
#A37AFA #FAE37A #91FA7A
monochromatic
#5309F1 #7A3FF8 #A37AFA #CCB5FC #EBE2FE

Accessibility & contrast

On white

3.12
#A37AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A37AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37AFA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37AFA#FFFFFF#000000##000000
##A37AFA1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#8F93AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a37afa;
/* rgb */ color: rgb(163, 122, 250);
/* oklch */ color: oklch(67.7% 0.184 295.9);
Tailwind
colors: {
  custom: {
    50: '#c2a1fc',
    500: '#a37afa',
    950: '#000000',
  },
}
SCSS
$custom: #a37afa;
$custom-light: #c2a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a37afa",
  "rgb": {
    "r": 163,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 259.219,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67669,
    "c": 0.18408,
    "h": 295.9
  },
  "luminance": 0.28608
}

Semantic roles & 50–950 ramp

primary
#A37AFA
secondary
#EBF6D5
accent
#E6009C
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A37AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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