#A646D9#A646D9

#A646D9 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.221 H 311.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A646D9
RGBrgb(166, 70, 217)
HSLhsl(279, 66%, 56%)
HSVhsv(279, 68%, 85%)
CMYKcmyk(23.5%, 67.7%, 0%, 14.9%)
CIE-LABlab(48.88, 62.42, -58.59)
CIE-LCHlch(48.88, 85.61, 316.81°)
OKLaboklab(58.67% 0.146 -0.1654)
OKLCHoklch(58.67% 0.221 311.4)
XYZxyz(30.4381, 17.4978, 67.4062)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646D9 #79D946
analogous
#5D46D9 #A646D9 #D946C2
triadic
#A646D9 #D9A646 #46D9A6
tetradic
#A646D9 #D95D46 #79D946 #46C2D9
square
#A646D9 #D95D46 #79D946 #46C2D9
split-complementary
#A646D9 #C2D946 #46D95D
monochromatic
#631C89 #8826BB #A646D9 #BE79E3 #D7ACEE

Accessibility & contrast

On white

4.67
#A646D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A646D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A646D9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646D9#FFFFFF#000000##FFFFFF
##A646D91.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3476D6
Tritanopia (blue-blind)
#A0658A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a646d9;
/* rgb */ color: rgb(166, 70, 217);
/* oklch */ color: oklch(58.7% 0.221 311.4);
Tailwind
colors: {
  custom: {
    50: '#c580e5',
    500: '#a646d9',
    950: '#000000',
  },
}
SCSS
$custom: #a646d9;
$custom-light: #c580e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a646d9",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 279.184,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58673,
    "c": 0.22064,
    "h": 311.4
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#A646D9
secondary
#B4DC9F
accent
#E93F7A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A646D9

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

Preview Lab → · Contrast checker → · Palette generator →

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