#A647D7#A647D7

#A647D7 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.217 H 311.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A647D7
RGBrgb(166, 71, 215)
HSLhsl(280, 64%, 56%)
HSVhsv(280, 67%, 84%)
CMYKcmyk(22.8%, 67%, 0%, 15.7%)
CIE-LABlab(48.91, 61.57, -57.40)
CIE-LCHlch(48.91, 84.18, 317.00°)
OKLaboklab(58.65% 0.1451 -0.162)
OKLCHoklch(58.65% 0.217 311.9)
XYZxyz(30.2426, 17.5205, 66.0655)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647D7 #78D747
analogous
#5E47D7 #A647D7 #D747C0
triadic
#A647D7 #D7A647 #47D7A6
tetradic
#A647D7 #D75E47 #78D747 #47C0D7
square
#A647D7 #D75E47 #78D747 #47C0D7
split-complementary
#A647D7 #C0D747 #47D75E
monochromatic
#631D86 #8728B9 #A647D7 #BE79E2 #D7ACED

Accessibility & contrast

On white

4.66
#A647D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A647D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A647D7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647D7#FFFFFF#000000##FFFFFF
##A647D71.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#3876D4
Tritanopia (blue-blind)
#A06589
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a647d7;
/* rgb */ color: rgb(166, 71, 215);
/* oklch */ color: oklch(58.7% 0.217 311.9);
Tailwind
colors: {
  custom: {
    50: '#c481e4',
    500: '#a647d7',
    950: '#000000',
  },
}
SCSS
$custom: #a647d7;
$custom-light: #c481e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a647d7",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 279.583,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58652,
    "c": 0.21745,
    "h": 311.9
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#A647D7
secondary
#B3DB9F
accent
#E74179
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A647D7

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

Preview Lab → · Contrast checker → · Palette generator →

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