#A37FEE#A37FEE

#A37FEE is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.8% C 0.161 H 296.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A37FEE
RGBrgb(163, 127, 238)
HSLhsl(259, 77%, 72%)
HSVhsv(259, 47%, 93%)
CMYKcmyk(31.5%, 46.6%, 0%, 6.7%)
CIE-LABlab(60.90, 37.26, -51.19)
CIE-LCHlch(60.90, 63.32, 306.05°)
OKLaboklab(67.81% 0.0729 -0.144)
OKLCHoklch(67.81% 0.161 296.8)
XYZxyz(38.1225, 29.1378, 84.4880)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37FEE #CAEE7F
analogous
#7F93EE #A37FEE #DA7FEE
triadic
#A37FEE #EEA37F #7FEEA3
tetradic
#A37FEE #EE7F93 #CAEE7F #7FEEDA
square
#A37FEE #EE7F93 #CAEE7F #7FEEDA
split-complementary
#A37FEE #EEDA7F #93EE7F
monochromatic
#591CD6 #7C49E7 #A37FEE #CAB5F5 #ECE4FB

Accessibility & contrast

On white

3.08
#A37FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#A37FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37FEE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37FEE#FFFFFF#000000##000000
##A37FEE1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F2
Deuteranopia (green-blind)
#6292EB
Tritanopia (blue-blind)
#9394AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a37fee;
/* rgb */ color: rgb(163, 127, 238);
/* oklch */ color: oklch(67.8% 0.161 296.8);
Tailwind
colors: {
  custom: {
    50: '#c1a5f4',
    500: '#a37fee',
    950: '#000000',
  },
}
SCSS
$custom: #a37fee;
$custom-light: #c1a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a37fee",
  "rgb": {
    "r": 163,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 259.459,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67811,
    "c": 0.16141,
    "h": 296.8
  },
  "luminance": 0.29138
}

Semantic roles & 50–950 ramp

primary
#A37FEE
secondary
#E9F3D6
accent
#D90D97
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A37FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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