#A646D8#A646D8

#A646D8 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.220 H 311.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A646D8
RGBrgb(166, 70, 216)
HSLhsl(279, 65%, 56%)
HSVhsv(279, 68%, 85%)
CMYKcmyk(23.1%, 67.6%, 0%, 15.3%)
CIE-LABlab(48.82, 62.21, -58.12)
CIE-LCHlch(48.82, 85.14, 316.95°)
OKLaboklab(58.61% 0.1461 -0.1641)
OKLCHoklch(58.61% 0.22 311.7)
XYZxyz(30.3084, 17.4459, 66.7232)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646D8 #78D846
analogous
#5D46D8 #A646D8 #D846C1
triadic
#A646D8 #D8A646 #46D8A6
tetradic
#A646D8 #D85D46 #78D846 #46C1D8
square
#A646D8 #D85D46 #78D846 #46C1D8
split-complementary
#A646D8 #C1D846 #46D85D
monochromatic
#631C87 #8727BA #A646D8 #BE79E3 #D7ABED

Accessibility & contrast

On white

4.68
#A646D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A646D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646D8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646D8#FFFFFF#000000##FFFFFF
##A646D81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3576D5
Tritanopia (blue-blind)
#A0648A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a646d8;
/* rgb */ color: rgb(166, 70, 216);
/* oklch */ color: oklch(58.6% 0.220 311.7);
Tailwind
colors: {
  custom: {
    50: '#c580e5',
    500: '#a646d8',
    950: '#000000',
  },
}
SCSS
$custom: #a646d8;
$custom-light: #c580e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a646d8",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 279.452,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.21968,
    "h": 311.7
  },
  "luminance": 0.17445
}

Semantic roles & 50–950 ramp

primary
#A646D8
secondary
#B3DB9F
accent
#E84079
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A646D8

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

Preview Lab → · Contrast checker → · Palette generator →

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