#A47EFB#A47EFB

#A47EFB is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.180 H 295.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A47EFB
RGBrgb(164, 126, 251)
HSLhsl(258, 94%, 74%)
HSVhsv(258, 50%, 98%)
CMYKcmyk(34.7%, 49.8%, 0%, 1.6%)
CIE-LABlab(61.46, 41.36, -57.47)
CIE-LCHlch(61.46, 70.81, 305.74°)
OKLaboklab(68.48% 0.0767 -0.1624)
OKLCHoklch(68.48% 0.18 295.3)
XYZxyz(40.1788, 29.7786, 94.8791)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A47EFB #D5FB7E
analogous
#7E97FB #A47EFB #E37EFB
triadic
#A47EFB #FBA47E #7EFBA4
tetradic
#A47EFB #FB7E97 #D5FB7E #7EFBE3
square
#A47EFB #FB7E97 #D5FB7E #7EFBE3
split-complementary
#A47EFB #FBE37E #97FB7E
monochromatic
#5008F7 #7A43F9 #A47EFB #CEB9FD #EAE1FE

Accessibility & contrast

On white

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

On black

6.96
#A47EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A47EFB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A47EFB#FFFFFF#000000##000000
##A47EFB1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#5793F8
Tritanopia (blue-blind)
#9097B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a47efb;
/* rgb */ color: rgb(164, 126, 251);
/* oklch */ color: oklch(68.5% 0.180 295.3);
Tailwind
colors: {
  custom: {
    50: '#c3a4fd',
    500: '#a47efb',
    950: '#000000',
  },
}
SCSS
$custom: #a47efb;
$custom-light: #c3a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a47efb",
  "rgb": {
    "r": 164,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 258.24,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68476,
    "c": 0.17956,
    "h": 295.3
  },
  "luminance": 0.29779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A47EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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