#A642AF#A642AF

#A642AF is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.187 H 324.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A642AF
RGBrgb(166, 66, 175)
HSLhsl(295, 45%, 47%)
HSVhsv(295, 62%, 69%)
CMYKcmyk(5.1%, 62.3%, 0%, 31.4%)
CIE-LABlab(45.77, 55.85, -39.23)
CIE-LCHlch(45.77, 68.25, 324.92°)
OKLaboklab(55.63% 0.1516 -0.1088)
OKLCHoklch(55.63% 0.187 324.3)
XYZxyz(25.4113, 15.1000, 42.1252)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A642AF #4BAF42
analogous
#7042AF #A642AF #AF4281
triadic
#A642AF #AFA642 #42AFA6
tetradic
#A642AF #AF7042 #4BAF42 #4281AF
square
#A642AF #AF7042 #4BAF42 #4281AF
split-complementary
#A642AF #81AF42 #42AF70
monochromatic
#522056 #7C3183 #A642AF #BE68C6 #D195D7

Accessibility & contrast

On white

5.22
#A642AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A642AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A642AF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A642AF#FFFFFF#000000##FFFFFF
##A642AF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B2
Deuteranopia (green-blind)
#5471AC
Tritanopia (blue-blind)
#A95272
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a642af;
/* rgb */ color: rgb(166, 66, 175);
/* oklch */ color: oklch(55.6% 0.187 324.3);
Tailwind
colors: {
  custom: {
    50: '#c37dc7',
    500: '#a642af',
    950: '#000000',
  },
}
SCSS
$custom: #a642af;
$custom-light: #c37dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a642af",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 295.046,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.18662,
    "h": 324.3
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

primary
#A642AF
secondary
#8FC28A
accent
#D5535E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A642AF

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

Preview Lab → · Contrast checker → · Palette generator →

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