#A647E7#A647E7

#A647E7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.233 H 308.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A647E7
RGBrgb(166, 71, 231)
HSLhsl(276, 77%, 59%)
HSVhsv(276, 69%, 91%)
CMYKcmyk(28.1%, 69.3%, 0%, 9.4%)
CIE-LABlab(49.96, 64.98, -64.79)
CIE-LCHlch(49.96, 91.76, 315.08°)
OKLaboklab(59.74% 0.1434 -0.1837)
OKLCHoklch(59.74% 0.233 308)
XYZxyz(32.3999, 18.3835, 77.4273)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647E7 #88E747
analogous
#5647E7 #A647E7 #E747D8
triadic
#A647E7 #E7A647 #47E7A6
tetradic
#A647E7 #E75647 #88E747 #47D8E7
square
#A647E7 #E75647 #88E747 #47D8E7
split-complementary
#A647E7 #D8E747 #47E756
monochromatic
#67159F #8A1CD5 #A647E7 #C07DEE #DAB3F5

Accessibility & contrast

On white

4.49
#A647E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A647E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A647E7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647E7#FFFFFF#000000##000000
##A647E71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#1D78E4
Tritanopia (blue-blind)
#9C6B92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a647e7;
/* rgb */ color: rgb(166, 71, 231);
/* oklch */ color: oklch(59.7% 0.233 308.0);
Tailwind
colors: {
  custom: {
    50: '#c581ef',
    500: '#a647e7',
    950: '#000000',
  },
}
SCSS
$custom: #a647e7;
$custom-light: #c581ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a647e7",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 231
  },
  "hsl": {
    "h": 275.625,
    "s": 76.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59735,
    "c": 0.23303,
    "h": 308
  },
  "luminance": 0.18383
}

Semantic roles & 50–950 ramp

primary
#A647E7
secondary
#BFE4A6
accent
#F33482
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A647E7

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

Preview Lab → · Contrast checker → · Palette generator →

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