#A562C8#A562C8

#A562C8 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.162 H 312.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A562C8
RGBrgb(165, 98, 200)
HSLhsl(279, 48%, 58%)
HSVhsv(279, 51%, 78%)
CMYKcmyk(17.5%, 51%, 0%, 21.6%)
CIE-LABlab(52.85, 44.84, -42.56)
CIE-LCHlch(52.85, 61.82, 316.50°)
OKLaboklab(61.22% 0.1102 -0.1187)
OKLCHoklch(61.22% 0.162 312.9)
XYZxyz(30.3083, 20.9055, 57.0710)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562C8 #85C862
analogous
#7262C8 #A562C8 #C862B8
triadic
#A562C8 #C8A562 #62C8A5
tetradic
#A562C8 #C87262 #85C862 #62B8C8
square
#A562C8 #C87262 #85C862 #62B8C8
split-complementary
#A562C8 #B8C862 #62C872
monochromatic
#652E82 #883DAF #A562C8 #BF8FD8 #D9BDE8

Accessibility & contrast

On white

4.05
#A562C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A562C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562C8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562C8#FFFFFF#000000##000000
##A562C81.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#497BCB
Deuteranopia (green-blind)
#5E80C5
Tritanopia (blue-blind)
#A2728C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a562c8;
/* rgb */ color: rgb(165, 98, 200);
/* oklch */ color: oklch(61.2% 0.162 312.9);
Tailwind
colors: {
  custom: {
    50: '#c291d9',
    500: '#a562c8',
    950: '#000000',
  },
}
SCSS
$custom: #a562c8;
$custom-light: #c291d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a562c8",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 279.412,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.16198,
    "h": 312.9
  },
  "luminance": 0.20905
}

Semantic roles & 50–950 ramp

primary
#A562C8
secondary
#BDD7AF
accent
#D8507F
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#130D15
muted
#827E83

Preview Lab

Preview with #A562C8

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

Preview Lab → · Contrast checker → · Palette generator →

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