#A647DC#A647DC

#A647DC is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.222 H 310.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A647DC
RGBrgb(166, 71, 220)
HSLhsl(278, 68%, 57%)
HSVhsv(278, 68%, 86%)
CMYKcmyk(24.5%, 67.7%, 0%, 13.7%)
CIE-LABlab(49.23, 62.62, -59.74)
CIE-LCHlch(49.23, 86.54, 316.35°)
OKLaboklab(58.98% 0.1447 -0.1688)
OKLCHoklch(58.98% 0.222 310.6)
XYZxyz(30.8949, 17.7815, 69.5009)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647DC #7DDC47
analogous
#5C47DC #A647DC #DC47C8
triadic
#A647DC #DCA647 #47DCA6
tetradic
#A647DC #DC5C47 #7DDC47 #47C8DC
square
#A647DC #DC5C47 #7DDC47 #47C8DC
split-complementary
#A647DC #C8DC47 #47DC5C
monochromatic
#641B8E #8825C1 #A647DC #BF7AE6 #D8AEF0

Accessibility & contrast

On white

4.61
#A647DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A647DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A647DC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647DC#FFFFFF#000000##FFFFFF
##A647DC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#9F678C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a647dc;
/* rgb */ color: rgb(166, 71, 220);
/* oklch */ color: oklch(59.0% 0.222 310.6);
Tailwind
colors: {
  custom: {
    50: '#c581e8',
    500: '#a647dc',
    950: '#000000',
  },
}
SCSS
$custom: #a647dc;
$custom-light: #c581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a647dc",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 278.255,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.22231,
    "h": 310.6
  },
  "luminance": 0.17781
}

Semantic roles & 50–950 ramp

primary
#A647DC
secondary
#B7DEA1
accent
#EB3D7C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A647DC

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

Preview Lab → · Contrast checker → · Palette generator →

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