#A37EF5#A37EF5

#A37EF5 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.0% C 0.172 H 295.8°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A37EF5
RGBrgb(163, 126, 245)
HSLhsl(259, 86%, 73%)
HSVhsv(259, 49%, 96%)
CMYKcmyk(33.5%, 48.6%, 0%, 3.9%)
CIE-LABlab(61.05, 39.59, -54.84)
CIE-LCHlch(61.05, 67.63, 305.83°)
OKLaboklab(68.04% 0.0749 -0.1547)
OKLCHoklch(68.04% 0.172 295.8)
XYZxyz(39.0424, 29.3002, 89.9670)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37EF5 #D0F57E
analogous
#7E95F5 #A37EF5 #DE7EF5
triadic
#A37EF5 #F5A37E #7EF5A3
tetradic
#A37EF5 #F57E95 #D0F57E #7EF5DE
square
#A37EF5 #F57E95 #D0F57E #7EF5DE
split-complementary
#A37EF5 #F5DE7E #95F57E
monochromatic
#5412E7 #7A45F1 #A37EF5 #CCB7F9 #EBE3FD

Accessibility & contrast

On white

3.06
#A37EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A37EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37EF5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37EF5#FFFFFF#000000##000000
##A37EF51.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F9
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#9095AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a37ef5;
/* rgb */ color: rgb(163, 126, 245);
/* oklch */ color: oklch(68.0% 0.172 295.8);
Tailwind
colors: {
  custom: {
    50: '#c2a4f9',
    500: '#a37ef5',
    950: '#000000',
  },
}
SCSS
$custom: #a37ef5;
$custom-light: #c2a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a37ef5",
  "rgb": {
    "r": 163,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 258.655,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.17186,
    "h": 295.8
  },
  "luminance": 0.29301
}

Semantic roles & 50–950 ramp

primary
#A37EF5
secondary
#EBF5D6
accent
#E2039D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A37EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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