#A647D9#A647D9

#A647D9 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.219 H 311.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A647D9
RGBrgb(166, 71, 217)
HSLhsl(279, 66%, 56%)
HSVhsv(279, 67%, 85%)
CMYKcmyk(23.5%, 67.3%, 0%, 14.9%)
CIE-LABlab(49.04, 61.99, -58.34)
CIE-LCHlch(49.04, 85.12, 316.74°)
OKLaboklab(58.78% 0.1449 -0.1647)
OKLCHoklch(58.78% 0.219 311.3)
XYZxyz(30.5012, 17.6240, 67.4272)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647D9 #7AD947
analogous
#5D47D9 #A647D9 #D947C3
triadic
#A647D9 #D9A647 #47D9A6
tetradic
#A647D9 #D95D47 #7AD947 #47C3D9
square
#A647D9 #D95D47 #7AD947 #47C3D9
split-complementary
#A647D9 #C3D947 #47D95D
monochromatic
#631C89 #8827BC #A647D9 #BF7AE3 #D7ACEE

Accessibility & contrast

On white

4.64
#A647D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A647D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A647D9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647D9#FFFFFF#000000##FFFFFF
##A647D91.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3576D6
Tritanopia (blue-blind)
#A0658B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a647d9;
/* rgb */ color: rgb(166, 71, 217);
/* oklch */ color: oklch(58.8% 0.219 311.3);
Tailwind
colors: {
  custom: {
    50: '#c581e5',
    500: '#a647d9',
    950: '#000000',
  },
}
SCSS
$custom: #a647d9;
$custom-light: #c581e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a647d9",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 279.041,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58784,
    "c": 0.21939,
    "h": 311.3
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#A647D9
secondary
#B5DCA0
accent
#E93F7A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A647D9

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

Preview Lab → · Contrast checker → · Palette generator →

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