#A642BF#A642BF

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

Color values

HEX#A642BF
RGBrgb(166, 66, 191)
HSLhsl(288, 49%, 50%)
HSVhsv(288, 65%, 75%)
CMYKcmyk(13.1%, 65.4%, 0%, 25.1%)
CIE-LABlab(46.67, 58.88, -47.17)
CIE-LCHlch(46.67, 75.45, 321.30°)
OKLaboklab(56.57% 0.1518 -0.132)
OKLCHoklch(56.57% 0.201 319)
XYZxyz(27.0768, 15.7662, 50.8970)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642BF #5BBF42
analogous
#6742BF #A642BF #BF4299
triadic
#A642BF #BFA642 #42BFA6
tetradic
#A642BF #BF6742 #5BBF42 #4299BF
square
#A642BF #BF6742 #5BBF42 #4299BF
split-complementary
#A642BF #99BF42 #42BF67
monochromatic
#572265 #7F3292 #A642BF #BC70CE #D19DDE

Accessibility & contrast

On white

5.06
#A642BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A642BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642BF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642BF#FFFFFF#000000##FFFFFF
##A642BF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#4A72BC
Tritanopia (blue-blind)
#A6587B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a642bf;
/* rgb */ color: rgb(166, 66, 191);
/* oklch */ color: oklch(56.6% 0.201 319.0);
Tailwind
colors: {
  custom: {
    50: '#c47ed3',
    500: '#a642bf',
    950: '#000000',
  },
}
SCSS
$custom: #a642bf;
$custom-light: #c47ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#a642bf",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 288,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56571,
    "c": 0.20117,
    "h": 319
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#A642BF
secondary
#9ECA93
accent
#D94F6A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A642BF

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

Preview Lab → · Contrast checker → · Palette generator →

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