#A646D4#A646D4

#A646D4 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.216 H 312.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A646D4
RGBrgb(166, 70, 212)
HSLhsl(281, 62%, 55%)
HSVhsv(281, 67%, 83%)
CMYKcmyk(21.7%, 67%, 0%, 16.9%)
CIE-LABlab(48.56, 61.38, -56.25)
CIE-LCHlch(48.56, 83.25, 317.50°)
OKLaboklab(58.34% 0.1464 -0.1586)
OKLCHoklch(58.34% 0.216 312.7)
XYZxyz(29.7976, 17.2416, 64.0329)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646D4 #74D446
analogous
#5F46D4 #A646D4 #D446BB
triadic
#A646D4 #D4A646 #46D4A6
tetradic
#A646D4 #D45F46 #74D446 #46BBD4
square
#A646D4 #D45F46 #74D446 #46BBD4
split-complementary
#A646D4 #BBD446 #46D45F
monochromatic
#611E81 #872AB3 #A646D4 #BE78E0 #D6A9EB

Accessibility & contrast

On white

4.72
#A646D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A646D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A646D4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646D4#FFFFFF#000000##FFFFFF
##A646D41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#3A75D1
Tritanopia (blue-blind)
#A16387
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a646d4;
/* rgb */ color: rgb(166, 70, 212);
/* oklch */ color: oklch(58.3% 0.216 312.7);
Tailwind
colors: {
  custom: {
    50: '#c480e2',
    500: '#a646d4',
    950: '#000000',
  },
}
SCSS
$custom: #a646d4;
$custom-light: #c480e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a646d4",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 280.563,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58343,
    "c": 0.21581,
    "h": 312.7
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#A646D4
secondary
#B0D99D
accent
#E54277
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A646D4

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

Preview Lab → · Contrast checker → · Palette generator →

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