#A37AEB#A37AEB

#A37AEB is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.8% C 0.165 H 298.6°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A37AEB
RGBrgb(163, 122, 235)
HSLhsl(262, 74%, 70%)
HSVhsv(262, 48%, 92%)
CMYKcmyk(30.6%, 48.1%, 0%, 7.8%)
CIE-LABlab(59.62, 39.32, -51.57)
CIE-LCHlch(59.62, 64.85, 307.32°)
OKLaboklab(66.8% 0.0791 -0.1451)
OKLCHoklch(66.8% 0.165 298.6)
XYZxyz(37.0556, 27.7034, 81.9762)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37AEB #C2EB7A
analogous
#7A89EB #A37AEB #DC7AEB
triadic
#A37AEB #EBA37A #7AEBA3
tetradic
#A37AEB #EB7A89 #C2EB7A #7AEBDC
square
#A37AEB #EB7A89 #C2EB7A #7AEBDC
split-complementary
#A37AEB #EBDC7A #89EB7A
monochromatic
#5E1FCC #7E45E3 #A37AEB #C8AFF3 #EDE4FB

Accessibility & contrast

On white

3.21
#A37AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A37AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37AEB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37AEB#FFFFFF#000000##000000
##A37AEB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#5E8FE8
Tritanopia (blue-blind)
#948FA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a37aeb;
/* rgb */ color: rgb(163, 122, 235);
/* oklch */ color: oklch(66.8% 0.165 298.6);
Tailwind
colors: {
  custom: {
    50: '#c1a1f2',
    500: '#a37aeb',
    950: '#000000',
  },
}
SCSS
$custom: #a37aeb;
$custom-light: #c1a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a37aeb",
  "rgb": {
    "r": 163,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 261.77,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.668,
    "c": 0.16526,
    "h": 298.6
  },
  "luminance": 0.27704
}

Semantic roles & 50–950 ramp

primary
#A37AEB
secondary
#E5F0D1
accent
#D6108E
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A37AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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