#A642CE#A642CE

#A642CE is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.215 H 314.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A642CE
RGBrgb(166, 66, 206)
HSLhsl(283, 59%, 53%)
HSVhsv(283, 68%, 81%)
CMYKcmyk(19.4%, 68%, 0%, 19.2%)
CIE-LABlab(47.57, 61.86, -54.40)
CIE-LCHlch(47.57, 82.37, 318.67°)
OKLaboklab(57.51% 0.1512 -0.1531)
OKLCHoklch(57.51% 0.215 314.6)
XYZxyz(28.8128, 16.4606, 60.0400)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642CE #6ACE42
analogous
#6042CE #A642CE #CE42B0
triadic
#A642CE #CEA642 #42CEA6
tetradic
#A642CE #CE6042 #6ACE42 #42B0CE
square
#A642CE #CE6042 #6ACE42 #42B0CE
split-complementary
#A642CE #B0CE42 #42CE60
monochromatic
#5E1F77 #842BA7 #A642CE #BD73DB #D4A3E7

Accessibility & contrast

On white

4.89
#A642CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A642CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642CE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642CE#FFFFFF#000000##FFFFFF
##A642CE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3D73CB
Tritanopia (blue-blind)
#A35E83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a642ce;
/* rgb */ color: rgb(166, 66, 206);
/* oklch */ color: oklch(57.5% 0.215 314.6);
Tailwind
colors: {
  custom: {
    50: '#c47ede',
    500: '#a642ce',
    950: '#000000',
  },
}
SCSS
$custom: #a642ce;
$custom-light: #c47ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a642ce",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 282.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.21515,
    "h": 314.6
  },
  "luminance": 0.1646
}

Semantic roles & 50–950 ramp

primary
#A642CE
secondary
#A9D498
accent
#E24672
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A642CE

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

Preview Lab → · Contrast checker → · Palette generator →

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