#A562AF#A562AF

#A562AF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 59.9% C 0.135 H 322.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A562AF
RGBrgb(165, 98, 175)
HSLhsl(292, 32%, 54%)
HSVhsv(292, 44%, 69%)
CMYKcmyk(5.7%, 44%, 0%, 31.4%)
CIE-LABlab(51.65, 39.61, -30.02)
CIE-LCHlch(51.65, 49.70, 322.85°)
OKLaboklab(59.93% 0.1065 -0.0825)
OKLCHoklch(59.93% 0.135 322.2)
XYZxyz(27.6217, 19.8309, 42.9219)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562AF #6CAF62
analogous
#7E62AF #A562AF #AF6292
triadic
#A562AF #AFA562 #62AFA5
tetradic
#A562AF #AF7E62 #6CAF62 #6292AF
square
#A562AF #AF7E62 #6CAF62 #6292AF
split-complementary
#A562AF #92AF62 #62AF7E
monochromatic
#5D3364 #83478C #A562AF #BC8BC4 #D3B3D8

Accessibility & contrast

On white

4.23
#A562AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A562AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562AF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562AF#FFFFFF#000000##000000
##A562AF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#A76B80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a562af;
/* rgb */ color: rgb(165, 98, 175);
/* oklch */ color: oklch(59.9% 0.135 322.2);
Tailwind
colors: {
  custom: {
    50: '#c190c7',
    500: '#a562af',
    950: '#000000',
  },
}
SCSS
$custom: #a562af;
$custom-light: #c190c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a562af",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 292.208,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59934,
    "c": 0.13473,
    "h": 322.2
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#A562AF
secondary
#AAC7A6
accent
#C95F6D
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A562AF

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

Preview Lab → · Contrast checker → · Palette generator →

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