#A643B7#A643B7

#A643B7 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.192 H 321.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A643B7
RGBrgb(166, 67, 183)
HSLhsl(291, 46%, 49%)
HSVhsv(291, 63%, 72%)
CMYKcmyk(9.3%, 63.4%, 0%, 28.2%)
CIE-LABlab(46.37, 56.91, -42.98)
CIE-LCHlch(46.37, 71.32, 322.94°)
OKLaboklab(56.21% 0.1507 -0.1197)
OKLCHoklch(56.21% 0.192 321.5)
XYZxyz(26.2793, 15.5415, 46.4062)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A643B7 #54B743
analogous
#6C43B7 #A643B7 #B7438E
triadic
#A643B7 #B7A643 #43B7A6
tetradic
#A643B7 #B76C43 #54B743 #438EB7
square
#A643B7 #B76C43 #54B743 #438EB7
split-complementary
#A643B7 #8EB743 #43B76C
monochromatic
#55225D #7D338A #A643B7 #BC6DCA #D19ADA

Accessibility & contrast

On white

5.11
#A643B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A643B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A643B7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A643B7#FFFFFF#000000##FFFFFF
##A643B71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BB
Deuteranopia (green-blind)
#5072B4
Tritanopia (blue-blind)
#A85677
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a643b7;
/* rgb */ color: rgb(166, 67, 183);
/* oklch */ color: oklch(56.2% 0.192 321.5);
Tailwind
colors: {
  custom: {
    50: '#c37ecd',
    500: '#a643b7',
    950: '#000000',
  },
}
SCSS
$custom: #a643b7;
$custom-light: #c37ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#a643b7",
  "rgb": {
    "r": 166,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 291.207,
    "s": 46.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.19245,
    "h": 321.5
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#A643B7
secondary
#98C690
accent
#D65265
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A643B7

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

Preview Lab → · Contrast checker → · Palette generator →

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