#A642C1#A642C1

#A642C1 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.7% C 0.203 H 318.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A642C1
RGBrgb(166, 66, 193)
HSLhsl(287, 51%, 51%)
HSVhsv(287, 66%, 76%)
CMYKcmyk(14%, 65.8%, 0%, 24.3%)
CIE-LABlab(46.78, 59.27, -48.15)
CIE-LCHlch(46.78, 76.36, 320.91°)
OKLaboklab(56.69% 0.1518 -0.1348)
OKLCHoklch(56.69% 0.203 318.4)
XYZxyz(27.2984, 15.8549, 52.0641)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642C1 #5DC142
analogous
#6642C1 #A642C1 #C1429C
triadic
#A642C1 #C1A642 #42C1A6
tetradic
#A642C1 #C16642 #5DC142 #429CC1
square
#A642C1 #C16642 #5DC142 #429CC1
split-complementary
#A642C1 #9CC142 #42C166
monochromatic
#582267 #803195 #A642C1 #BC70D0 #D19EDF

Accessibility & contrast

On white

5.04
#A642C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A642C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642C1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642C1#FFFFFF#000000##FFFFFF
##A642C11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1268C5
Deuteranopia (green-blind)
#4872BE
Tritanopia (blue-blind)
#A6597C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a642c1;
/* rgb */ color: rgb(166, 66, 193);
/* oklch */ color: oklch(56.7% 0.203 318.4);
Tailwind
colors: {
  custom: {
    50: '#c47ed4',
    500: '#a642c1',
    950: '#000000',
  },
}
SCSS
$custom: #a642c1;
$custom-light: #c47ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#a642c1",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 287.244,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56693,
    "c": 0.20302,
    "h": 318.4
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#A642C1
secondary
#9FCC93
accent
#DA4E6C
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A642C1

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

Preview Lab → · Contrast checker → · Palette generator →

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