#A643BA#A643BA

#A643BA is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.195 H 320.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A643BA
RGBrgb(166, 67, 186)
HSLhsl(290, 47%, 50%)
HSVhsv(290, 64%, 73%)
CMYKcmyk(10.8%, 64%, 0%, 27.1%)
CIE-LABlab(46.54, 57.48, -44.47)
CIE-LCHlch(46.54, 72.67, 322.28°)
OKLaboklab(56.38% 0.1507 -0.1241)
OKLCHoklch(56.38% 0.195 320.5)
XYZxyz(26.5949, 15.6678, 48.0682)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A643BA #57BA43
analogous
#6B43BA #A643BA #BA4393
triadic
#A643BA #BAA643 #43BAA6
tetradic
#A643BA #BA6B43 #57BA43 #4393BA
square
#A643BA #BA6B43 #57BA43 #4393BA
split-complementary
#A643BA #93BA43 #43BA6B
monochromatic
#562360 #7E338D #A643BA #BC6FCB #D19CDB

Accessibility & contrast

On white

5.08
#A643BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A643BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A643BA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A643BA#FFFFFF#000000##FFFFFF
##A643BA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BE
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#A75779
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a643ba;
/* rgb */ color: rgb(166, 67, 186);
/* oklch */ color: oklch(56.4% 0.195 320.5);
Tailwind
colors: {
  custom: {
    50: '#c47ecf',
    500: '#a643ba',
    950: '#000000',
  },
}
SCSS
$custom: #a643ba;
$custom-light: #c47ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#a643ba",
  "rgb": {
    "r": 166,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 289.916,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.19521,
    "h": 320.5
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#A643BA
secondary
#9AC891
accent
#D75168
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A643BA

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

Preview Lab → · Contrast checker → · Palette generator →

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