#A642BD#A642BD

#A642BD is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.199 H 319.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A642BD
RGBrgb(166, 66, 189)
HSLhsl(289, 48%, 50%)
HSVhsv(289, 65%, 74%)
CMYKcmyk(12.2%, 65.1%, 0%, 25.9%)
CIE-LABlab(46.55, 58.49, -46.19)
CIE-LCHlch(46.55, 74.53, 321.70°)
OKLaboklab(56.45% 0.1519 -0.1291)
OKLCHoklch(56.45% 0.199 319.6)
XYZxyz(26.8582, 15.6788, 49.7458)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642BD #59BD42
analogous
#6842BD #A642BD #BD4297
triadic
#A642BD #BDA642 #42BDA6
tetradic
#A642BD #BD6842 #59BD42 #4297BD
square
#A642BD #BD6842 #59BD42 #4297BD
split-complementary
#A642BD #97BD42 #42BD68
monochromatic
#562262 #7E3290 #A642BD #BB6FCD #D19DDD

Accessibility & contrast

On white

5.08
#A642BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A642BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642BD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642BD#FFFFFF#000000##FFFFFF
##A642BD1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C1
Deuteranopia (green-blind)
#4B72BA
Tritanopia (blue-blind)
#A6577A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a642bd;
/* rgb */ color: rgb(166, 66, 189);
/* oklch */ color: oklch(56.5% 0.199 319.6);
Tailwind
colors: {
  custom: {
    50: '#c47dd1',
    500: '#a642bd',
    950: '#000000',
  },
}
SCSS
$custom: #a642bd;
$custom-light: #c47dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a642bd",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 288.78,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.19933,
    "h": 319.6
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

primary
#A642BD
secondary
#9CC992
accent
#D85069
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A642BD

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

Preview Lab → · Contrast checker → · Palette generator →

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