#A562CC#A562CC

#A562CC is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.166 H 311.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A562CC
RGBrgb(165, 98, 204)
HSLhsl(278, 51%, 59%)
HSVhsv(278, 52%, 80%)
CMYKcmyk(19.1%, 52%, 0%, 20%)
CIE-LABlab(53.05, 45.72, -44.51)
CIE-LCHlch(53.05, 63.81, 315.77°)
OKLaboklab(61.44% 0.1106 -0.1244)
OKLCHoklch(61.44% 0.166 311.6)
XYZxyz(30.7819, 21.0950, 59.5652)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562CC #89CC62
analogous
#7062CC #A562CC #CC62BE
triadic
#A562CC #CCA562 #62CCA5
tetradic
#A562CC #CC7062 #89CC62 #62BECC
square
#A562CC #CC7062 #89CC62 #62BECC
split-complementary
#A562CC #BECC62 #62CC70
monochromatic
#662C88 #893BB6 #A562CC #BF90DB #DABEEA

Accessibility & contrast

On white

4.02
#A562CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A562CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562CC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562CC#FFFFFF#000000##000000
##A562CC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BD0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#A1748E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a562cc;
/* rgb */ color: rgb(165, 98, 204);
/* oklch */ color: oklch(61.4% 0.166 311.6);
Tailwind
colors: {
  custom: {
    50: '#c291dc',
    500: '#a562cc',
    950: '#000000',
  },
}
SCSS
$custom: #a562cc;
$custom-light: #c291dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a562cc",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 277.925,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61439,
    "c": 0.16647,
    "h": 311.6
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#A562CC
secondary
#BFDAB0
accent
#DA4D81
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A562CC

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

Preview Lab → · Contrast checker → · Palette generator →

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