#A47AFB#A47AFB

#A47AFB is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.8% C 0.185 H 296.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A47AFB
RGBrgb(164, 122, 251)
HSLhsl(260, 94%, 73%)
HSVhsv(260, 51%, 98%)
CMYKcmyk(34.7%, 51.4%, 0%, 1.6%)
CIE-LABlab(60.58, 43.58, -58.88)
CIE-LCHlch(60.58, 73.25, 306.51°)
OKLaboklab(67.82% 0.0816 -0.1665)
OKLCHoklch(67.82% 0.185 296.1)
XYZxyz(39.6776, 28.7760, 94.7120)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A47AFB #D1FB7A
analogous
#7A90FB #A47AFB #E57AFB
triadic
#A47AFB #FBA47A #7AFBA4
tetradic
#A47AFB #FB7A90 #D1FB7A #7AFBE5
square
#A47AFB #FB7A90 #D1FB7A #7AFBE5
split-complementary
#A47AFB #FBE57A #90FB7A
monochromatic
#5407F3 #7B3FF9 #A47AFB #CDB5FD #EBE1FE

Accessibility & contrast

On white

3.11
#A47AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A47AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A47AFB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A47AFB#FFFFFF#000000##000000
##A47AFB1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#5290F8
Tritanopia (blue-blind)
#9094AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a47afb;
/* rgb */ color: rgb(164, 122, 251);
/* oklch */ color: oklch(67.8% 0.185 296.1);
Tailwind
colors: {
  custom: {
    50: '#c3a1fd',
    500: '#a47afb',
    950: '#000000',
  },
}
SCSS
$custom: #a47afb;
$custom-light: #c3a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a47afb",
  "rgb": {
    "r": 164,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 259.535,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.18542,
    "h": 296.1
  },
  "luminance": 0.28777
}

Semantic roles & 50–950 ramp

primary
#A47AFB
secondary
#EBF6D5
accent
#E6009B
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A47AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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