#A642CB#A642CB

#A642CB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.212 H 315.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A642CB
RGBrgb(166, 66, 203)
HSLhsl(284, 57%, 53%)
HSVhsv(284, 67%, 80%)
CMYKcmyk(18.2%, 67.5%, 0%, 20.4%)
CIE-LABlab(47.39, 61.25, -52.97)
CIE-LCHlch(47.39, 80.98, 319.15°)
OKLaboklab(57.32% 0.1514 -0.1489)
OKLCHoklch(57.32% 0.212 315.5)
XYZxyz(28.4519, 16.3162, 58.1389)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642CB #67CB42
analogous
#6242CB #A642CB #CB42AB
triadic
#A642CB #CBA642 #42CBA6
tetradic
#A642CB #CB6242 #67CB42 #42ABCB
square
#A642CB #CB6242 #67CB42 #42ABCB
split-complementary
#A642CB #ABCB42 #42CB62
monochromatic
#5C2073 #832DA3 #A642CB #BD72D8 #D3A2E5

Accessibility & contrast

On white

4.93
#A642CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A642CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642CB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642CB#FFFFFF#000000##FFFFFF
##A642CB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#A35D81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a642cb;
/* rgb */ color: rgb(166, 66, 203);
/* oklch */ color: oklch(57.3% 0.212 315.5);
Tailwind
colors: {
  custom: {
    50: '#c47edb',
    500: '#a642cb',
    950: '#000000',
  },
}
SCSS
$custom: #a642cb;
$custom-light: #c47edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a642cb",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 283.796,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.21234,
    "h": 315.5
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#A642CB
secondary
#A7D297
accent
#E04871
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A642CB

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

Preview Lab → · Contrast checker → · Palette generator →

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