#A646BE#A646BE

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

Color values

HEX#A646BE
RGBrgb(166, 70, 190)
HSLhsl(288, 48%, 51%)
HSVhsv(288, 63%, 75%)
CMYKcmyk(12.6%, 63.2%, 0%, 25.5%)
CIE-LABlab(47.24, 56.93, -45.67)
CIE-LCHlch(47.24, 72.98, 321.26°)
OKLaboklab(56.97% 0.1472 -0.1276)
OKLCHoklch(56.97% 0.195 319.1)
XYZxyz(27.2091, 16.2062, 50.4001)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646BE #5EBE46
analogous
#6A46BE #A646BE #BE469A
triadic
#A646BE #BEA646 #46BEA6
tetradic
#A646BE #BE6A46 #5EBE46 #469ABE
square
#A646BE #BE6A46 #5EBE46 #469ABE
split-complementary
#A646BE #9ABE46 #46BE6A
monochromatic
#592466 #803493 #A646BE #BC73CE #D2A1DE

Accessibility & contrast

On white

4.95
#A646BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A646BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646BE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646BE#FFFFFF#000000##FFFFFF
##A646BE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC2
Deuteranopia (green-blind)
#4E73BB
Tritanopia (blue-blind)
#A65A7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a646be;
/* rgb */ color: rgb(166, 70, 190);
/* oklch */ color: oklch(57.0% 0.195 319.1);
Tailwind
colors: {
  custom: {
    50: '#c480d2',
    500: '#a646be',
    950: '#000000',
  },
}
SCSS
$custom: #a646be;
$custom-light: #c480d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a646be",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 288,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.1948,
    "h": 319.1
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#A646BE
secondary
#A0CA95
accent
#D8506B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A646BE

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

Preview Lab → · Contrast checker → · Palette generator →

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