#A646BA#A646BA

#A646BA is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.191 H 320.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A646BA
RGBrgb(166, 70, 186)
HSLhsl(290, 46%, 50%)
HSVhsv(290, 62%, 73%)
CMYKcmyk(10.8%, 62.4%, 0%, 27.1%)
CIE-LABlab(47.02, 56.15, -43.70)
CIE-LCHlch(47.02, 71.15, 322.11°)
OKLaboklab(56.73% 0.1471 -0.1219)
OKLCHoklch(56.73% 0.191 320.4)
XYZxyz(26.7779, 16.0337, 48.1292)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646BA #5ABA46
analogous
#6C46BA #A646BA #BA4694
triadic
#A646BA #BAA646 #46BAA6
tetradic
#A646BA #BA6C46 #5ABA46 #4694BA
square
#A646BA #BA6C46 #5ABA46 #4694BA
split-complementary
#A646BA #94BA46 #46BA6C
monochromatic
#572461 #7F358E #A646BA #BB73CB #D19FDB

Accessibility & contrast

On white

4.99
#A646BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A646BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646BA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646BA#FFFFFF#000000##FFFFFF
##A646BA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#A7597A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a646ba;
/* rgb */ color: rgb(166, 70, 186);
/* oklch */ color: oklch(56.7% 0.191 320.4);
Tailwind
colors: {
  custom: {
    50: '#c380cf',
    500: '#a646ba',
    950: '#000000',
  },
}
SCSS
$custom: #a646ba;
$custom-light: #c380cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a646ba",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 289.655,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.19103,
    "h": 320.4
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

primary
#A646BA
secondary
#9DC894
accent
#D55269
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A646BA

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

Preview Lab → · Contrast checker → · Palette generator →

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