#A646DC#A646DC

#A646DC is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.224 H 310.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A646DC
RGBrgb(166, 70, 220)
HSLhsl(278, 68%, 57%)
HSVhsv(278, 68%, 86%)
CMYKcmyk(24.5%, 68.2%, 0%, 13.7%)
CIE-LABlab(49.08, 63.05, -59.99)
CIE-LCHlch(49.08, 87.03, 316.43°)
OKLaboklab(58.87% 0.1457 -0.1695)
OKLCHoklch(58.87% 0.224 310.7)
XYZxyz(30.8318, 17.6553, 69.4799)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646DC #7CDC46
analogous
#5B46DC #A646DC #DC46C7
triadic
#A646DC #DCA646 #46DCA6
tetradic
#A646DC #DC5B46 #7CDC46 #46C7DC
square
#A646DC #DC5B46 #7CDC46 #46C7DC
split-complementary
#A646DC #C7DC46 #46DC5B
monochromatic
#641B8D #8824C0 #A646DC #BF79E6 #D8ADEF

Accessibility & contrast

On white

4.63
#A646DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A646DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A646DC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646DC#FFFFFF#000000##FFFFFF
##A646DC1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#9F668C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a646dc;
/* rgb */ color: rgb(166, 70, 220);
/* oklch */ color: oklch(58.9% 0.224 310.7);
Tailwind
colors: {
  custom: {
    50: '#c581e8',
    500: '#a646dc',
    950: '#000000',
  },
}
SCSS
$custom: #a646dc;
$custom-light: #c581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a646dc",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 278.4,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.22354,
    "h": 310.7
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A646DC

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

Preview Lab → · Contrast checker → · Palette generator →

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