#A647E1#A647E1

#A647E1 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.3% C 0.227 H 309.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A647E1
RGBrgb(166, 71, 225)
HSLhsl(277, 72%, 58%)
HSVhsv(277, 68%, 88%)
CMYKcmyk(26.2%, 68.4%, 0%, 11.8%)
CIE-LABlab(49.56, 63.69, -62.05)
CIE-LCHlch(49.56, 88.92, 315.75°)
OKLaboklab(59.32% 0.1441 -0.1756)
OKLCHoklch(59.32% 0.227 309.4)
XYZxyz(31.5670, 18.0503, 73.0407)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647E1 #82E147
analogous
#5947E1 #A647E1 #E147CF
triadic
#A647E1 #E1A647 #47E1A6
tetradic
#A647E1 #E15947 #82E147 #47CFE1
square
#A647E1 #E15947 #82E147 #47CFE1
split-complementary
#A647E1 #CFE147 #47E159
monochromatic
#651895 #8921CA #A647E1 #BF7CEA #D9B0F2

Accessibility & contrast

On white

4.56
#A647E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A647E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A647E1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647E1#FFFFFF#000000##000000
##A647E11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2977DE
Tritanopia (blue-blind)
#9D698F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a647e1;
/* rgb */ color: rgb(166, 71, 225);
/* oklch */ color: oklch(59.3% 0.227 309.4);
Tailwind
colors: {
  custom: {
    50: '#c581eb',
    500: '#a647e1',
    950: '#000000',
  },
}
SCSS
$custom: #a647e1;
$custom-light: #c581eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a647e1",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 277.013,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59322,
    "c": 0.22718,
    "h": 309.4
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#A647E1
secondary
#BBE1A3
accent
#EF397F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A647E1

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

Preview Lab → · Contrast checker → · Palette generator →

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