#A562BD#A562BD

#A562BD is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.6% C 0.150 H 316.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A562BD
RGBrgb(165, 98, 189)
HSLhsl(284, 41%, 56%)
HSVhsv(284, 48%, 74%)
CMYKcmyk(12.7%, 48.1%, 0%, 25.9%)
CIE-LABlab(52.30, 42.49, -37.10)
CIE-LCHlch(52.30, 56.41, 318.87°)
OKLaboklab(60.63% 0.1088 -0.1029)
OKLCHoklch(60.63% 0.15 316.6)
XYZxyz(29.0687, 20.4097, 50.5425)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562BD #7ABD62
analogous
#7862BD #A562BD #BD62A8
triadic
#A562BD #BDA562 #62BDA5
tetradic
#A562BD #BD7862 #7ABD62 #62A8BD
square
#A562BD #BD7862 #7ABD62 #62A8BD
split-complementary
#A562BD #A8BD62 #62BD78
monochromatic
#623174 #87439F #A562BD #BE8DCF #D6B8E1

Accessibility & contrast

On white

4.13
#A562BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A562BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562BD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562BD#FFFFFF#000000##000000
##A562BD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C0
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#A46F87
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a562bd;
/* rgb */ color: rgb(165, 98, 189);
/* oklch */ color: oklch(60.6% 0.150 316.6);
Tailwind
colors: {
  custom: {
    50: '#c191d1',
    500: '#a562bd',
    950: '#000000',
  },
}
SCSS
$custom: #a562bd;
$custom-light: #c191d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a562bd",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 284.176,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60632,
    "c": 0.1498,
    "h": 316.6
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#A562BD
secondary
#B5D0AB
accent
#D15777
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A562BD

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

Preview Lab → · Contrast checker → · Palette generator →

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