#A646BF#A646BF

#A646BF is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.196 H 318.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A646BF
RGBrgb(166, 70, 191)
HSLhsl(288, 49%, 51%)
HSVhsv(288, 63%, 75%)
CMYKcmyk(13.1%, 63.4%, 0%, 25.1%)
CIE-LABlab(47.30, 57.12, -46.16)
CIE-LCHlch(47.30, 73.44, 321.06°)
OKLaboklab(57.03% 0.1472 -0.129)
OKLCHoklch(57.03% 0.196 318.8)
XYZxyz(27.3188, 16.2501, 50.9777)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646BF #5FBF46
analogous
#6946BF #A646BF #BF469B
triadic
#A646BF #BFA646 #46BFA6
tetradic
#A646BF #BF6946 #5FBF46 #469BBF
square
#A646BF #BF6946 #5FBF46 #469BBF
split-complementary
#A646BF #9BBF46 #46BF69
monochromatic
#592467 #803394 #A646BF #BC73CF #D2A1DE

Accessibility & contrast

On white

4.94
#A646BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A646BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646BF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646BF#FFFFFF#000000##FFFFFF
##A646BF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#A65B7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a646bf;
/* rgb */ color: rgb(166, 70, 191);
/* oklch */ color: oklch(57.0% 0.196 318.8);
Tailwind
colors: {
  custom: {
    50: '#c480d3',
    500: '#a646bf',
    950: '#000000',
  },
}
SCSS
$custom: #a646bf;
$custom-light: #c480d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a646bf",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 287.603,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.19574,
    "h": 318.8
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#A646BF
secondary
#A1CB96
accent
#D8506C
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A646BF

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

Preview Lab → · Contrast checker → · Palette generator →

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