#A47EFA#A47EFA

#A47EFA is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.178 H 295.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A47EFA
RGBrgb(164, 126, 250)
HSLhsl(258, 93%, 74%)
HSVhsv(258, 50%, 98%)
CMYKcmyk(34.4%, 49.6%, 0%, 2%)
CIE-LABlab(61.41, 41.11, -57.01)
CIE-LCHlch(61.41, 70.28, 305.79°)
OKLaboklab(68.42% 0.0766 -0.161)
OKLCHoklch(68.42% 0.178 295.4)
XYZxyz(40.0216, 29.7157, 94.0511)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A47EFA #D4FA7E
analogous
#7E96FA #A47EFA #E27EFA
triadic
#A47EFA #FAA47E #7EFAA4
tetradic
#A47EFA #FA7E96 #D4FA7E #7EFAE2
square
#A47EFA #FA7E96 #D4FA7E #7EFAE2
split-complementary
#A47EFA #FAE27E #96FA7E
monochromatic
#5109F4 #7A43F8 #A47EFA #CEB9FC #EAE2FE

Accessibility & contrast

On white

3.02
#A47EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#A47EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A47EFA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A47EFA#FFFFFF#000000##000000
##A47EFA1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#5893F7
Tritanopia (blue-blind)
#9096B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a47efa;
/* rgb */ color: rgb(164, 126, 250);
/* oklch */ color: oklch(68.4% 0.178 295.4);
Tailwind
colors: {
  custom: {
    50: '#c3a4fc',
    500: '#a47efa',
    950: '#000000',
  },
}
SCSS
$custom: #a47efa;
$custom-light: #c3a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a47efa",
  "rgb": {
    "r": 164,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 258.387,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68417,
    "c": 0.17829,
    "h": 295.4
  },
  "luminance": 0.29716
}

Semantic roles & 50–950 ramp

primary
#A47EFA
secondary
#ECF6D5
accent
#E6009F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A47EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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