#A562BC#A562BC

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

Color values

HEX#A562BC
RGBrgb(165, 98, 188)
HSLhsl(285, 40%, 56%)
HSVhsv(285, 48%, 74%)
CMYKcmyk(12.2%, 47.9%, 0%, 26.3%)
CIE-LABlab(52.25, 42.28, -36.60)
CIE-LCHlch(52.25, 55.92, 319.12°)
OKLaboklab(60.58% 0.1087 -0.1015)
OKLCHoklch(60.58% 0.149 317)
XYZxyz(28.9605, 20.3664, 49.9728)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562BC #79BC62
analogous
#7862BC #A562BC #BC62A6
triadic
#A562BC #BCA562 #62BCA5
tetradic
#A562BC #BC7862 #79BC62 #62A6BC
square
#A562BC #BC7862 #79BC62 #62A6BC
split-complementary
#A562BC #A6BC62 #62BC78
monochromatic
#623173 #86439E #A562BC #BE8DCE #D6B8E1

Accessibility & contrast

On white

4.14
#A562BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A562BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562BC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562BC#FFFFFF#000000##000000
##A562BC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#647FB9
Tritanopia (blue-blind)
#A46F86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a562bc;
/* rgb */ color: rgb(165, 98, 188);
/* oklch */ color: oklch(60.6% 0.149 317.0);
Tailwind
colors: {
  custom: {
    50: '#c191d0',
    500: '#a562bc',
    950: '#000000',
  },
}
SCSS
$custom: #a562bc;
$custom-light: #c191d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a562bc",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 284.667,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.1487,
    "h": 317
  },
  "luminance": 0.20366
}

Semantic roles & 50–950 ramp

primary
#A562BC
secondary
#B4CFAA
accent
#D05876
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A562BC

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

Preview Lab → · Contrast checker → · Palette generator →

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