#A562DC#A562DC

#A562DC is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.4% C 0.184 H 307.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A562DC
RGBrgb(165, 98, 220)
HSLhsl(273, 64%, 62%)
HSVhsv(273, 55%, 86%)
CMYKcmyk(25%, 55.5%, 0%, 13.7%)
CIE-LABlab(53.92, 49.32, -52.22)
CIE-LCHlch(53.92, 71.83, 313.36°)
OKLaboklab(62.36% 0.1116 -0.1469)
OKLCHoklch(62.36% 0.185 307.2)
XYZxyz(32.8004, 21.9024, 70.1959)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562DC #99DC62
analogous
#6862DC #A562DC #DC62D6
triadic
#A562DC #DCA562 #62DCA5
tetradic
#A562DC #DC6862 #99DC62 #62D6DC
square
#A562DC #DC6862 #99DC62 #62D6DC
split-complementary
#A562DC #D6DC62 #62DC68
monochromatic
#6824A0 #8830D1 #A562DC #C294E7 #DEC6F2

Accessibility & contrast

On white

3.90
#A562DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#A562DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562DC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562DC#FFFFFF#000000##000000
##A562DC1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EE0
Deuteranopia (green-blind)
#5082D9
Tritanopia (blue-blind)
#9D7996
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a562dc;
/* rgb */ color: rgb(165, 98, 220);
/* oklch */ color: oklch(62.4% 0.184 307.2);
Tailwind
colors: {
  custom: {
    50: '#c391e7',
    500: '#a562dc',
    950: '#000000',
  },
}
SCSS
$custom: #a562dc;
$custom-light: #c391e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a562dc",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 272.951,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62362,
    "c": 0.1845,
    "h": 307.2
  },
  "luminance": 0.21902
}

Semantic roles & 50–950 ramp

primary
#A562DC
secondary
#CBE3B7
accent
#CB1A6A
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A562DC

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

Preview Lab → · Contrast checker → · Palette generator →

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