#A37AFB#A37AFB

#A37AFB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.185 H 295.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A37AFB
RGBrgb(163, 122, 251)
HSLhsl(259, 94%, 73%)
HSVhsv(259, 51%, 98%)
CMYKcmyk(35.1%, 51.4%, 0%, 1.6%)
CIE-LABlab(60.49, 43.34, -59.03)
CIE-LCHlch(60.49, 73.24, 306.29°)
OKLaboklab(67.73% 0.0804 -0.167)
OKLCHoklch(67.73% 0.185 295.7)
XYZxyz(39.4719, 28.6700, 94.7023)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37AFB #D2FB7A
analogous
#7A91FB #A37AFB #E47AFB
triadic
#A37AFB #FBA37A #7AFBA3
tetradic
#A37AFB #FB7A91 #D2FB7A #7AFBE4
square
#A37AFB #FB7A91 #D2FB7A #7AFBE4
split-complementary
#A37AFB #FBE47A #91FB7A
monochromatic
#5207F3 #7A3FF9 #A37AFB #CCB5FD #EAE1FE

Accessibility & contrast

On white

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

On black

6.73
#A37AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37AFB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37AFB#FFFFFF#000000##000000
##A37AFB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#8E94AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a37afb;
/* rgb */ color: rgb(163, 122, 251);
/* oklch */ color: oklch(67.7% 0.185 295.7);
Tailwind
colors: {
  custom: {
    50: '#c2a1fd',
    500: '#a37afb',
    950: '#000000',
  },
}
SCSS
$custom: #a37afb;
$custom-light: #c2a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a37afb",
  "rgb": {
    "r": 163,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 259.07,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67729,
    "c": 0.18533,
    "h": 295.7
  },
  "luminance": 0.28671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A37AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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