#A47DEC#A47DEC

#A47DEC is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.5% C 0.162 H 298.1°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A47DEC
RGBrgb(164, 125, 236)
HSLhsl(261, 74%, 71%)
HSVhsv(261, 47%, 93%)
CMYKcmyk(30.5%, 47%, 0%, 7.5%)
CIE-LABlab(60.44, 38.14, -50.81)
CIE-LCHlch(60.44, 63.54, 306.90°)
OKLaboklab(67.45% 0.0765 -0.1429)
OKLCHoklch(67.45% 0.162 298.1)
XYZxyz(37.7801, 28.6155, 82.8735)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A47DEC #C5EC7D
analogous
#7D8DEC #A47DEC #DB7DEC
triadic
#A47DEC #ECA47D #7DECA4
tetradic
#A47DEC #EC7D8D #C5EC7D #7DECDB
square
#A47DEC #EC7D8D #C5EC7D #7DECDB
split-complementary
#A47DEC #ECDB7D #8DEC7D
monochromatic
#5D1ED0 #7F48E4 #A47DEC #C9B2F4 #ECE4FB

Accessibility & contrast

On white

3.12
#A47DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A47DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A47DEC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A47DEC#FFFFFF#000000##000000
##A47DEC1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#9592A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a47dec;
/* rgb */ color: rgb(164, 125, 236);
/* oklch */ color: oklch(67.5% 0.162 298.1);
Tailwind
colors: {
  custom: {
    50: '#c2a3f2',
    500: '#a47dec',
    950: '#000000',
  },
}
SCSS
$custom: #a47dec;
$custom-light: #c2a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a47dec",
  "rgb": {
    "r": 164,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 261.081,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67453,
    "c": 0.16206,
    "h": 298.1
  },
  "luminance": 0.28616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A47DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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