#A646DB#A646DB

#A646DB is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.223 H 310.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A646DB
RGBrgb(166, 70, 219)
HSLhsl(279, 67%, 57%)
HSVhsv(279, 68%, 86%)
CMYKcmyk(24.2%, 68%, 0%, 14.1%)
CIE-LABlab(49.01, 62.84, -59.52)
CIE-LCHlch(49.01, 86.56, 316.55°)
OKLaboklab(58.81% 0.1458 -0.1682)
OKLCHoklch(58.81% 0.223 310.9)
XYZxyz(30.6998, 17.6025, 68.7845)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646DB #7BDB46
analogous
#5C46DB #A646DB #DB46C5
triadic
#A646DB #DBA646 #46DBA6
tetradic
#A646DB #DB5C46 #7BDB46 #46C5DB
square
#A646DB #DB5C46 #7BDB46 #46C5DB
split-complementary
#A646DB #C5DB46 #46DB5C
monochromatic
#641B8B #8825BF #A646DB #BF79E5 #D7ACEF

Accessibility & contrast

On white

4.65
#A646DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A646DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A646DB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646DB#FFFFFF#000000##FFFFFF
##A646DB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#9F668B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a646db;
/* rgb */ color: rgb(166, 70, 219);
/* oklch */ color: oklch(58.8% 0.223 310.9);
Tailwind
colors: {
  custom: {
    50: '#c581e7',
    500: '#a646db',
    950: '#000000',
  },
}
SCSS
$custom: #a646db;
$custom-light: #c581e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a646db",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 278.658,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58806,
    "c": 0.22258,
    "h": 310.9
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#A646DB
secondary
#B6DDA0
accent
#EA3D7B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A646DB

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

Preview Lab → · Contrast checker → · Palette generator →

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