#A647E5#A647E5

#A647E5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.231 H 308.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A647E5
RGBrgb(166, 71, 229)
HSLhsl(276, 75%, 59%)
HSVhsv(276, 69%, 90%)
CMYKcmyk(27.5%, 69%, 0%, 10.2%)
CIE-LABlab(49.82, 64.55, -63.88)
CIE-LCHlch(49.82, 90.81, 315.30°)
OKLaboklab(59.6% 0.1437 -0.181)
OKLCHoklch(59.6% 0.231 308.4)
XYZxyz(32.1191, 18.2711, 75.9482)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647E5 #86E547
analogous
#5747E5 #A647E5 #E547D5
triadic
#A647E5 #E5A647 #47E5A6
tetradic
#A647E5 #E55747 #86E547 #47D5E5
square
#A647E5 #E55747 #86E547 #47D5E5
split-complementary
#A647E5 #D5E547 #47E557
monochromatic
#66169C #8A1ED1 #A647E5 #C07DED #DAB2F4

Accessibility & contrast

On white

4.51
#A647E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A647E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A647E5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647E5#FFFFFF#000000##000000
##A647E51.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#2278E2
Tritanopia (blue-blind)
#9C6A91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a647e5;
/* rgb */ color: rgb(166, 71, 229);
/* oklch */ color: oklch(59.6% 0.231 308.4);
Tailwind
colors: {
  custom: {
    50: '#c581ee',
    500: '#a647e5',
    950: '#000000',
  },
}
SCSS
$custom: #a647e5;
$custom-light: #c581ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a647e5",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 276.076,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.23107,
    "h": 308.4
  },
  "luminance": 0.18271
}

Semantic roles & 50–950 ramp

primary
#A647E5
secondary
#BEE3A5
accent
#F23681
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A647E5

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

Preview Lab → · Contrast checker → · Palette generator →

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