#A47FEF#A47FEF

#A47FEF is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.0% C 0.163 H 297.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A47FEF
RGBrgb(164, 127, 239)
HSLhsl(260, 78%, 72%)
HSVhsv(260, 47%, 94%)
CMYKcmyk(31.4%, 46.9%, 0%, 6.3%)
CIE-LABlab(61.05, 37.77, -51.51)
CIE-LCHlch(61.05, 63.87, 306.25°)
OKLaboklab(67.96% 0.0742 -0.1449)
OKLCHoklch(67.96% 0.163 297.1)
XYZxyz(38.4754, 29.3028, 85.2736)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A47FEF #CAEF7F
analogous
#7F92EF #A47FEF #DC7FEF
triadic
#A47FEF #EFA47F #7FEFA4
tetradic
#A47FEF #EF7F92 #CAEF7F #7FEFDC
square
#A47FEF #EF7F92 #CAEF7F #7FEFDC
split-complementary
#A47FEF #EFDC7F #92EF7F
monochromatic
#5A1BD9 #7D49E8 #A47FEF #CBB5F6 #ECE4FC

Accessibility & contrast

On white

3.06
#A47FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A47FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A47FEF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A47FEF#FFFFFF#000000##000000
##A47FEF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#9494AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a47fef;
/* rgb */ color: rgb(164, 127, 239);
/* oklch */ color: oklch(68.0% 0.163 297.1);
Tailwind
colors: {
  custom: {
    50: '#c2a5f5',
    500: '#a47fef',
    950: '#000000',
  },
}
SCSS
$custom: #a47fef;
$custom-light: #c2a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a47fef",
  "rgb": {
    "r": 164,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 259.821,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67958,
    "c": 0.16282,
    "h": 297.1
  },
  "luminance": 0.29303
}

Semantic roles & 50–950 ramp

primary
#A47FEF
secondary
#EAF3D7
accent
#DA0B96
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A47FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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