#A642B9#A642B9

#A642B9 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.196 H 320.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A642B9
RGBrgb(166, 66, 185)
HSLhsl(290, 47%, 49%)
HSVhsv(290, 64%, 73%)
CMYKcmyk(10.3%, 64.3%, 0%, 27.5%)
CIE-LABlab(46.32, 57.73, -44.22)
CIE-LCHlch(46.32, 72.72, 322.54°)
OKLaboklab(56.21% 0.1519 -0.1234)
OKLCHoklch(56.21% 0.196 320.9)
XYZxyz(26.4300, 15.5075, 47.4906)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642B9 #55B942
analogous
#6B42B9 #A642B9 #B94291
triadic
#A642B9 #B9A642 #42B9A6
tetradic
#A642B9 #B96B42 #55B942 #4291B9
square
#A642B9 #B96B42 #55B942 #4291B9
split-complementary
#A642B9 #91B942 #42B96B
monochromatic
#55225F #7E328C #A642B9 #BC6DCB #D19ADB

Accessibility & contrast

On white

5.12
#A642B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A642B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642B9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642B9#FFFFFF#000000##FFFFFF
##A642B91.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BD
Deuteranopia (green-blind)
#4E71B6
Tritanopia (blue-blind)
#A75678
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a642b9;
/* rgb */ color: rgb(166, 66, 185);
/* oklch */ color: oklch(56.2% 0.196 320.9);
Tailwind
colors: {
  custom: {
    50: '#c47dce',
    500: '#a642b9',
    950: '#000000',
  },
}
SCSS
$custom: #a642b9;
$custom-light: #c47dce;
$custom-dark: #000000;
JSON
{
  "hex": "#a642b9",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 290.42,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56211,
    "c": 0.19566,
    "h": 320.9
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#A642B9
secondary
#99C790
accent
#D75166
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A642B9

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

Preview Lab → · Contrast checker → · Palette generator →

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