#A562D2#A562D2

#A562D2 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.173 H 309.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A562D2
RGBrgb(165, 98, 210)
HSLhsl(276, 55%, 60%)
HSVhsv(276, 53%, 82%)
CMYKcmyk(21.4%, 53.3%, 0%, 17.6%)
CIE-LABlab(53.37, 47.05, -47.43)
CIE-LCHlch(53.37, 66.81, 314.77°)
OKLaboklab(61.78% 0.1111 -0.1329)
OKLCHoklch(61.78% 0.173 309.9)
XYZxyz(31.5154, 21.3884, 63.4284)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562D2 #8FD262
analogous
#6D62D2 #A562D2 #D262C7
triadic
#A562D2 #D2A562 #62D2A5
tetradic
#A562D2 #D26D62 #8FD262 #62C7D2
square
#A562D2 #D26D62 #8FD262 #62C7D2
split-complementary
#A562D2 #C7D262 #62D26D
monochromatic
#672990 #8937C0 #A562D2 #C092E0 #DCC1ED

Accessibility & contrast

On white

3.98
#A562D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A562D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562D2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562D2#FFFFFF#000000##000000
##A562D21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD6
Deuteranopia (green-blind)
#5781CF
Tritanopia (blue-blind)
#9F7591
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a562d2;
/* rgb */ color: rgb(165, 98, 210);
/* oklch */ color: oklch(61.8% 0.173 309.9);
Tailwind
colors: {
  custom: {
    50: '#c291e0',
    500: '#a562d2',
    950: '#000000',
  },
}
SCSS
$custom: #a562d2;
$custom-light: #c291e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a562d2",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 275.893,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61778,
    "c": 0.17321,
    "h": 309.9
  },
  "luminance": 0.21388
}

Semantic roles & 50–950 ramp

primary
#A562D2
secondary
#C4DDB3
accent
#C32363
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A562D2

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

Preview Lab → · Contrast checker → · Palette generator →

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