#A562A6#A562A6

#A562A6 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.5% C 0.125 H 326.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A562A6
RGBrgb(165, 98, 166)
HSLhsl(299, 28%, 52%)
HSVhsv(299, 41%, 65%)
CMYKcmyk(0.6%, 41%, 0%, 34.9%)
CIE-LABlab(51.25, 37.85, -25.37)
CIE-LCHlch(51.25, 45.56, 326.16°)
OKLaboklab(59.51% 0.1046 -0.0693)
OKLCHoklch(59.51% 0.125 326.5)
XYZxyz(26.7671, 19.4891, 38.4208)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562A6 #63A662
analogous
#8362A6 #A562A6 #A66285
triadic
#A562A6 #A6A562 #62A6A5
tetradic
#A562A6 #A68362 #63A662 #6285A6
square
#A562A6 #A68362 #63A662 #6285A6
split-complementary
#A562A6 #85A662 #62A683
monochromatic
#5A335A #814981 #A562A6 #BB89BC #D2B0D2

Accessibility & contrast

On white

4.29
#A562A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A562A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562A6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562A6#FFFFFF#000000##000000
##A562A61.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C75A8
Deuteranopia (green-blind)
#6E7DA4
Tritanopia (blue-blind)
#A9697C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a562a6;
/* rgb */ color: rgb(165, 98, 166);
/* oklch */ color: oklch(59.5% 0.125 326.5);
Tailwind
colors: {
  custom: {
    50: '#c190c0',
    500: '#a562a6',
    950: '#000000',
  },
}
SCSS
$custom: #a562a6;
$custom-light: #c190c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a562a6",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 166
  },
  "hsl": {
    "h": 299.118,
    "s": 27.642,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.12547,
    "h": 326.5
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#A562A6
secondary
#A3C1A3
accent
#C46465
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#120D12
muted
#817D81

Preview Lab

Preview with #A562A6

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

Preview Lab → · Contrast checker → · Palette generator →

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