#A647E6#A647E6

#A647E6 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.7% C 0.232 H 308.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A647E6
RGBrgb(166, 71, 230)
HSLhsl(276, 76%, 59%)
HSVhsv(276, 69%, 90%)
CMYKcmyk(27.8%, 69.1%, 0%, 9.8%)
CIE-LABlab(49.89, 64.76, -64.34)
CIE-LCHlch(49.89, 91.29, 315.19°)
OKLaboklab(59.67% 0.1435 -0.1823)
OKLCHoklch(59.67% 0.232 308.2)
XYZxyz(32.2591, 18.3271, 76.6856)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647E6 #87E647
analogous
#5747E6 #A647E6 #E647D7
triadic
#A647E6 #E6A647 #47E6A6
tetradic
#A647E6 #E65747 #87E647 #47D7E6
square
#A647E6 #E65747 #87E647 #47D7E6
split-complementary
#A647E6 #D7E647 #47E657
monochromatic
#67159D #8A1DD3 #A647E6 #C07DED #DAB3F5

Accessibility & contrast

On white

4.50
#A647E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A647E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A647E6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647E6#FFFFFF#000000##000000
##A647E61.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#1F78E3
Tritanopia (blue-blind)
#9C6A92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a647e6;
/* rgb */ color: rgb(166, 71, 230);
/* oklch */ color: oklch(59.7% 0.232 308.2);
Tailwind
colors: {
  custom: {
    50: '#c581ef',
    500: '#a647e6',
    950: '#000000',
  },
}
SCSS
$custom: #a647e6;
$custom-light: #c581ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a647e6",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 275.849,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.23205,
    "h": 308.2
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#A647E6
secondary
#BEE4A5
accent
#F33581
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A647E6

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

Preview Lab → · Contrast checker → · Palette generator →

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