#A37AF7#A37AF7

#A37AF7 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.5% C 0.180 H 296.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A37AF7
RGBrgb(163, 122, 247)
HSLhsl(260, 89%, 72%)
HSVhsv(260, 51%, 97%)
CMYKcmyk(34%, 50.6%, 0%, 3.1%)
CIE-LABlab(60.27, 42.33, -57.18)
CIE-LCHlch(60.27, 71.14, 306.51°)
OKLaboklab(67.49% 0.0801 -0.1615)
OKLCHoklch(67.49% 0.18 296.4)
XYZxyz(38.8481, 28.4204, 91.4166)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37AF7 #CEF77A
analogous
#7A90F7 #A37AF7 #E17AF7
triadic
#A37AF7 #F7A37A #7AF7A3
tetradic
#A37AF7 #F77A90 #CEF77A #7AF7E1
square
#A37AF7 #F77A90 #CEF77A #7AF7E1
split-complementary
#A37AF7 #F7E17A #90F77A
monochromatic
#560EE9 #7B40F4 #A37AF7 #CBB4FA #EBE2FD

Accessibility & contrast

On white

3.14
#A37AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A37AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37AF7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37AF7#FFFFFF#000000##000000
##A37AF71.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#9093AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a37af7;
/* rgb */ color: rgb(163, 122, 247);
/* oklch */ color: oklch(67.5% 0.180 296.4);
Tailwind
colors: {
  custom: {
    50: '#c2a1fa',
    500: '#a37af7',
    950: '#000000',
  },
}
SCSS
$custom: #a37af7;
$custom-light: #c2a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a37af7",
  "rgb": {
    "r": 163,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 259.68,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67492,
    "c": 0.18033,
    "h": 296.4
  },
  "luminance": 0.28421
}

Semantic roles & 50–950 ramp

primary
#A37AF7
secondary
#EBF5D6
accent
#E5009A
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A37AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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