#A37CEC#A37CEC

#A37CEC is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.2% C 0.163 H 297.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A37CEC
RGBrgb(163, 124, 236)
HSLhsl(261, 75%, 71%)
HSVhsv(261, 47%, 93%)
CMYKcmyk(30.9%, 47.5%, 0%, 7.5%)
CIE-LABlab(60.12, 38.45, -51.33)
CIE-LCHlch(60.12, 64.13, 306.84°)
OKLaboklab(67.19% 0.0766 -0.1444)
OKLCHoklch(67.19% 0.163 297.9)
XYZxyz(37.4486, 28.2576, 82.8219)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37CEC #C5EC7C
analogous
#7C8DEC #A37CEC #DB7CEC
triadic
#A37CEC #ECA37C #7CECA3
tetradic
#A37CEC #EC7C8D #C5EC7C #7CECDB
square
#A37CEC #EC7C8D #C5EC7C #7CECDB
split-complementary
#A37CEC #ECDB7C #8DEC7C
monochromatic
#5C1ED0 #7D47E4 #A37CEC #C9B1F4 #ECE4FB

Accessibility & contrast

On white

3.16
#A37CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A37CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37CEC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37CEC#FFFFFF#000000##000000
##A37CEC1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#9491A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a37cec;
/* rgb */ color: rgb(163, 124, 236);
/* oklch */ color: oklch(67.2% 0.163 297.9);
Tailwind
colors: {
  custom: {
    50: '#c1a2f3',
    500: '#a37cec',
    950: '#000000',
  },
}
SCSS
$custom: #a37cec;
$custom-light: #c1a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a37cec",
  "rgb": {
    "r": 163,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 260.893,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67191,
    "c": 0.16345,
    "h": 297.9
  },
  "luminance": 0.28258
}

Semantic roles & 50–950 ramp

primary
#A37CEC
secondary
#E7F1D3
accent
#D70F91
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A37CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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