#A642C0#A642C0

#A642C0 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.6% C 0.202 H 318.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A642C0
RGBrgb(166, 66, 192)
HSLhsl(288, 50%, 51%)
HSVhsv(288, 66%, 75%)
CMYKcmyk(13.5%, 65.6%, 0%, 24.7%)
CIE-LABlab(46.72, 59.08, -47.66)
CIE-LCHlch(46.72, 75.91, 321.11°)
OKLaboklab(56.63% 0.1518 -0.1334)
OKLCHoklch(56.63% 0.202 318.7)
XYZxyz(27.1873, 15.8104, 51.4786)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642C0 #5CC042
analogous
#6742C0 #A642C0 #C0429B
triadic
#A642C0 #C0A642 #42C0A6
tetradic
#A642C0 #C06742 #5CC042 #429BC0
square
#A642C0 #C06742 #5CC042 #429BC0
split-complementary
#A642C0 #9BC042 #42C067
monochromatic
#582266 #7F3194 #A642C0 #BC70CF #D19EDF

Accessibility & contrast

On white

5.05
#A642C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A642C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642C0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642C0#FFFFFF#000000##FFFFFF
##A642C01.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C4
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#A6587B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a642c0;
/* rgb */ color: rgb(166, 66, 192);
/* oklch */ color: oklch(56.6% 0.202 318.7);
Tailwind
colors: {
  custom: {
    50: '#c47ed4',
    500: '#a642c0',
    950: '#000000',
  },
}
SCSS
$custom: #a642c0;
$custom-light: #c47ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#a642c0",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 287.619,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.20209,
    "h": 318.7
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#A642C0
secondary
#9ECB93
accent
#DA4E6B
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A642C0

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

Preview Lab → · Contrast checker → · Palette generator →

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