#A37DEC#A37DEC

#A37DEC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.4% C 0.162 H 297.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A37DEC
RGBrgb(163, 125, 236)
HSLhsl(261, 74%, 71%)
HSVhsv(261, 47%, 93%)
CMYKcmyk(30.9%, 47%, 0%, 7.5%)
CIE-LABlab(60.35, 37.88, -50.97)
CIE-LCHlch(60.35, 63.50, 306.62°)
OKLaboklab(67.36% 0.0753 -0.1434)
OKLCHoklch(67.36% 0.162 297.7)
XYZxyz(37.5745, 28.5095, 82.8639)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A37DEC #C6EC7D
analogous
#7D8EEC #A37DEC #DB7DEC
triadic
#A37DEC #ECA37D #7DECA3
tetradic
#A37DEC #EC7D8E #C6EC7D #7DECDB
square
#A37DEC #EC7D8E #C6EC7D #7DECDB
split-complementary
#A37DEC #ECDB7D #8EEC7D
monochromatic
#5B1ED0 #7D48E4 #A37DEC #C9B2F4 #ECE4FB

Accessibility & contrast

On white

3.13
#A37DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#A37DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A37DEC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A37DEC#FFFFFF#000000##000000
##A37DEC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#9492A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a37dec;
/* rgb */ color: rgb(163, 125, 236);
/* oklch */ color: oklch(67.4% 0.162 297.7);
Tailwind
colors: {
  custom: {
    50: '#c1a3f2',
    500: '#a37dec',
    950: '#000000',
  },
}
SCSS
$custom: #a37dec;
$custom-light: #c1a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a37dec",
  "rgb": {
    "r": 163,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 260.541,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6736,
    "c": 0.16192,
    "h": 297.7
  },
  "luminance": 0.2851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A37DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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