#A647C2#A647C2

#A647C2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.197 H 317.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A647C2
RGBrgb(166, 71, 194)
HSLhsl(286, 50%, 52%)
HSVhsv(286, 63%, 76%)
CMYKcmyk(14.4%, 63.4%, 0%, 23.9%)
CIE-LABlab(47.64, 57.27, -47.37)
CIE-LCHlch(47.64, 74.32, 320.41°)
OKLaboklab(57.33% 0.146 -0.1326)
OKLCHoklch(57.33% 0.197 317.8)
XYZxyz(27.7154, 16.5096, 52.7552)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647C2 #63C247
analogous
#6847C2 #A647C2 #C247A1
triadic
#A647C2 #C2A647 #47C2A6
tetradic
#A647C2 #C26847 #63C247 #47A1C2
square
#A647C2 #C26847 #63C247 #47A1C2
split-complementary
#A647C2 #A1C247 #47C268
monochromatic
#5B246B #823399 #A647C2 #BC75D1 #D2A3E0

Accessibility & contrast

On white

4.88
#A647C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A647C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A647C2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647C2#FFFFFF#000000##FFFFFF
##A647C21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#4C74BF
Tritanopia (blue-blind)
#A55D7E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a647c2;
/* rgb */ color: rgb(166, 71, 194);
/* oklch */ color: oklch(57.3% 0.197 317.8);
Tailwind
colors: {
  custom: {
    50: '#c480d5',
    500: '#a647c2',
    950: '#000000',
  },
}
SCSS
$custom: #a647c2;
$custom-light: #c480d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a647c2",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 286.341,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57327,
    "c": 0.1972,
    "h": 317.8
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

primary
#A647C2
secondary
#A4CD97
accent
#DA4E6E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A647C2

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

Preview Lab → · Contrast checker → · Palette generator →

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