#A643A2#A643A2

#A643A2 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.0% C 0.174 H 329.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A643A2
RGBrgb(166, 67, 162)
HSLhsl(302, 42%, 46%)
HSVhsv(302, 60%, 65%)
CMYKcmyk(0%, 59.6%, 2.4%, 34.9%)
CIE-LABlab(45.26, 53.07, -32.34)
CIE-LCHlch(45.26, 62.15, 328.65°)
OKLaboklab(55.05% 0.1493 -0.0889)
OKLCHoklch(55.05% 0.174 329.2)
XYZxyz(24.2544, 14.7315, 35.7414)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A643A2 #43A647
analogous
#7843A6 #A643A2 #A64370
triadic
#A643A2 #A2A643 #43A2A6
tetradic
#A643A2 #A67843 #43A647 #4370A6
square
#A643A2 #A67843 #43A647 #4370A6
split-complementary
#A643A2 #70A643 #43A678
monochromatic
#4F204D #7A3177 #A643A2 #C165BD #D391D0

Accessibility & contrast

On white

5.32
#A643A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#A643A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A643A2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A643A2#FFFFFF#000000##FFFFFF
##A643A21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#AB4E6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a643a2;
/* rgb */ color: rgb(166, 67, 162);
/* oklch */ color: oklch(55.0% 0.174 329.2);
Tailwind
colors: {
  custom: {
    50: '#c37dbe',
    500: '#a643a2',
    950: '#000000',
  },
}
SCSS
$custom: #a643a2;
$custom-light: #c37dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a643a2",
  "rgb": {
    "r": 166,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 302.424,
    "s": 42.489,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55049,
    "c": 0.17379,
    "h": 329.2
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#A643A2
secondary
#87BE89
accent
#D25B56
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A643A2

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

Preview Lab → · Contrast checker → · Palette generator →

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