#A562CA#A562CA

#A562CA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.164 H 312.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A562CA
RGBrgb(165, 98, 202)
HSLhsl(279, 50%, 59%)
HSVhsv(279, 51%, 79%)
CMYKcmyk(18.3%, 51.5%, 0%, 20.8%)
CIE-LABlab(52.95, 45.28, -43.54)
CIE-LCHlch(52.95, 62.82, 316.13°)
OKLaboklab(61.33% 0.1104 -0.1216)
OKLCHoklch(61.33% 0.164 312.2)
XYZxyz(30.5435, 20.9996, 58.3100)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562CA #87CA62
analogous
#7162CA #A562CA #CA62BB
triadic
#A562CA #CAA562 #62CAA5
tetradic
#A562CA #CA7162 #87CA62 #62BBCA
square
#A562CA #CA7162 #87CA62 #62BBCA
split-complementary
#A562CA #BBCA62 #62CA71
monochromatic
#652D85 #883CB3 #A562CA #BF90D9 #D9BEE9

Accessibility & contrast

On white

4.04
#A562CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A562CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562CA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562CA#FFFFFF#000000##000000
##A562CA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#A1738D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a562ca;
/* rgb */ color: rgb(165, 98, 202);
/* oklch */ color: oklch(61.3% 0.164 312.2);
Tailwind
colors: {
  custom: {
    50: '#c291da',
    500: '#a562ca',
    950: '#000000',
  },
}
SCSS
$custom: #a562ca;
$custom-light: #c291da;
$custom-dark: #000000;
JSON
{
  "hex": "#a562ca",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 278.654,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61328,
    "c": 0.16422,
    "h": 312.2
  },
  "luminance": 0.20999
}

Semantic roles & 50–950 ramp

primary
#A562CA
secondary
#BED8AF
accent
#D94F80
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A562CA

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

Preview Lab → · Contrast checker → · Palette generator →

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