#A37EF8#A37EF8

#A37EF8 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.176 H 295.3°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A37EF8
RGBrgb(163, 126, 248)
HSLhsl(258, 90%, 73%)
HSVhsv(258, 49%, 97%)
CMYKcmyk(34.3%, 49.2%, 0%, 2.7%)
CIE-LABlab(61.21, 40.35, -56.23)
CIE-LCHlch(61.21, 69.21, 305.66°)
OKLaboklab(68.21% 0.0752 -0.1588)
OKLCHoklch(68.21% 0.176 295.3)
XYZxyz(39.5041, 29.4849, 92.3986)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37EF8 #D3F87E
analogous
#7E96F8 #A37EF8 #E07EF8
triadic
#A37EF8 #F8A37E #7EF8A3
tetradic
#A37EF8 #F87E96 #D3F87E #7EF8E0
square
#A37EF8 #F87E96 #D3F87E #7EF8E0
split-complementary
#A37EF8 #F8E07E #96F87E
monochromatic
#510DEF #7A44F5 #A37EF8 #CCB8FB #EAE2FD

Accessibility & contrast

On white

3.04
#A37EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#A37EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37EF8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37EF8#FFFFFF#000000##000000
##A37EF81.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FC
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#8F96AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a37ef8;
/* rgb */ color: rgb(163, 126, 248);
/* oklch */ color: oklch(68.2% 0.176 295.3);
Tailwind
colors: {
  custom: {
    50: '#c2a4fb',
    500: '#a37ef8',
    950: '#000000',
  },
}
SCSS
$custom: #a37ef8;
$custom-light: #c2a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a37ef8",
  "rgb": {
    "r": 163,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 258.197,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6821,
    "c": 0.17567,
    "h": 295.3
  },
  "luminance": 0.29486
}

Semantic roles & 50–950 ramp

primary
#A37EF8
secondary
#ECF6D5
accent
#E600A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A37EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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