#A647D8#A647D8

#A647D8 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.7% C 0.218 H 311.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A647D8
RGBrgb(166, 71, 216)
HSLhsl(279, 65%, 56%)
HSVhsv(279, 67%, 85%)
CMYKcmyk(23.1%, 67.1%, 0%, 15.3%)
CIE-LABlab(48.97, 61.78, -57.87)
CIE-LCHlch(48.97, 84.65, 316.87°)
OKLaboklab(58.72% 0.145 -0.1633)
OKLCHoklch(58.72% 0.218 311.6)
XYZxyz(30.3715, 17.5721, 66.7443)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647D8 #79D847
analogous
#5E47D8 #A647D8 #D847C2
triadic
#A647D8 #D8A647 #47D8A6
tetradic
#A647D8 #D85E47 #79D847 #47C2D8
square
#A647D8 #D85E47 #79D847 #47C2D8
split-complementary
#A647D8 #C2D847 #47D85E
monochromatic
#631D88 #8827BA #A647D8 #BE79E3 #D7ACED

Accessibility & contrast

On white

4.65
#A647D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A647D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A647D8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647D8#FFFFFF#000000##FFFFFF
##A647D81.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#3776D5
Tritanopia (blue-blind)
#A0658A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a647d8;
/* rgb */ color: rgb(166, 71, 216);
/* oklch */ color: oklch(58.7% 0.218 311.6);
Tailwind
colors: {
  custom: {
    50: '#c581e5',
    500: '#a647d8',
    950: '#000000',
  },
}
SCSS
$custom: #a647d8;
$custom-light: #c581e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a647d8",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 279.31,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.21842,
    "h": 311.6
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#A647D8
secondary
#B4DBA0
accent
#E8407A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A647D8

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

Preview Lab → · Contrast checker → · Palette generator →

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