#A562CD#A562CD

#A562CD is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.5% C 0.168 H 311.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A562CD
RGBrgb(165, 98, 205)
HSLhsl(278, 52%, 59%)
HSVhsv(278, 52%, 80%)
CMYKcmyk(19.5%, 52.2%, 0%, 19.6%)
CIE-LABlab(53.11, 45.94, -45.00)
CIE-LCHlch(53.11, 64.31, 315.59°)
OKLaboklab(61.5% 0.1107 -0.1258)
OKLCHoklch(61.5% 0.168 311.3)
XYZxyz(30.9022, 21.1431, 60.1989)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562CD #8ACD62
analogous
#7062CD #A562CD #CD62C0
triadic
#A562CD #CDA562 #62CDA5
tetradic
#A562CD #CD7062 #8ACD62 #62C0CD
square
#A562CD #CD7062 #8ACD62 #62C0CD
split-complementary
#A562CD #C0CD62 #62CD70
monochromatic
#662C89 #893AB7 #A562CD #C090DC #DABFEB

Accessibility & contrast

On white

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

On black

5.23
#A562CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562CD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562CD#FFFFFF#000000##000000
##A562CD1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD1
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#A0748E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a562cd;
/* rgb */ color: rgb(165, 98, 205);
/* oklch */ color: oklch(61.5% 0.168 311.3);
Tailwind
colors: {
  custom: {
    50: '#c291dd',
    500: '#a562cd',
    950: '#000000',
  },
}
SCSS
$custom: #a562cd;
$custom-light: #c291dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a562cd",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 277.57,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.16759,
    "h": 311.3
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#A562CD
secondary
#C0DAB1
accent
#DB4D82
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A562CD

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

Preview Lab → · Contrast checker → · Palette generator →

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