#A646DF#A646DF

#A646DF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.1% C 0.226 H 309.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A646DF
RGBrgb(166, 70, 223)
HSLhsl(278, 71%, 57%)
HSVhsv(278, 69%, 87%)
CMYKcmyk(25.6%, 68.6%, 0%, 12.5%)
CIE-LABlab(49.27, 63.69, -61.37)
CIE-LCHlch(49.27, 88.45, 316.06°)
OKLaboklab(59.08% 0.1454 -0.1736)
OKLCHoklch(59.08% 0.226 309.9)
XYZxyz(31.2327, 17.8157, 71.5912)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646DF #7FDF46
analogous
#5946DF #A646DF #DF46CC
triadic
#A646DF #DFA646 #46DFA6
tetradic
#A646DF #DF5946 #7FDF46 #46CCDF
square
#A646DF #DF5946 #7FDF46 #46CCDF
split-complementary
#A646DF #CCDF46 #46DF59
monochromatic
#651991 #8922C6 #A646DF #BF7AE8 #D8AEF1

Accessibility & contrast

On white

4.60
#A646DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A646DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646DF#FFFFFF#000000##FFFFFF
##A646DF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#2B77DC
Tritanopia (blue-blind)
#9E678D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a646df;
/* rgb */ color: rgb(166, 70, 223);
/* oklch */ color: oklch(59.1% 0.226 309.9);
Tailwind
colors: {
  custom: {
    50: '#c581ea',
    500: '#a646df',
    950: '#000000',
  },
}
SCSS
$custom: #a646df;
$custom-light: #c581ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a646df",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 277.647,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.22645,
    "h": 309.9
  },
  "luminance": 0.17815
}

Semantic roles & 50–950 ramp

primary
#A646DF
secondary
#B9DFA2
accent
#ED3B7D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A646DF

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

Preview Lab → · Contrast checker → · Palette generator →

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