#A562BB#A562BB

#A562BB is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.5% C 0.148 H 317.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A562BB
RGBrgb(165, 98, 187)
HSLhsl(285, 40%, 56%)
HSVhsv(285, 48%, 73%)
CMYKcmyk(11.8%, 47.6%, 0%, 26.7%)
CIE-LABlab(52.20, 42.07, -36.10)
CIE-LCHlch(52.20, 55.43, 319.37°)
OKLaboklab(60.53% 0.1086 -0.1)
OKLCHoklch(60.53% 0.148 317.3)
XYZxyz(28.8531, 20.3235, 49.4070)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562BB #78BB62
analogous
#7862BB #A562BB #BB62A4
triadic
#A562BB #BBA562 #62BBA5
tetradic
#A562BB #BB7862 #78BB62 #62A4BB
square
#A562BB #BB7862 #78BB62 #62A4BB
split-complementary
#A562BB #A4BB62 #62BB78
monochromatic
#623171 #86449C #A562BB #BD8DCD #D6B7E0

Accessibility & contrast

On white

4.15
#A562BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A562BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562BB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562BB#FFFFFF#000000##000000
##A562BB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#A56F86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a562bb;
/* rgb */ color: rgb(165, 98, 187);
/* oklch */ color: oklch(60.5% 0.148 317.3);
Tailwind
colors: {
  custom: {
    50: '#c191d0',
    500: '#a562bb',
    950: '#000000',
  },
}
SCSS
$custom: #a562bb;
$custom-light: #c191d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a562bb",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 285.169,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60529,
    "c": 0.1476,
    "h": 317.3
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#A562BB
secondary
#B3CFAA
accent
#CF5876
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A562BB

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

Preview Lab → · Contrast checker → · Palette generator →

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