#A562DE#A562DE

#A562DE is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.187 H 306.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A562DE
RGBrgb(165, 98, 222)
HSLhsl(272, 65%, 63%)
HSVhsv(272, 56%, 87%)
CMYKcmyk(25.7%, 55.9%, 0%, 12.9%)
CIE-LABlab(54.04, 49.78, -53.17)
CIE-LCHlch(54.04, 72.83, 313.11°)
OKLaboklab(62.48% 0.1117 -0.1497)
OKLCHoklch(62.48% 0.187 306.7)
XYZxyz(33.0668, 22.0090, 71.5992)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562DE #9BDE62
analogous
#6762DE #A562DE #DE62D9
triadic
#A562DE #DEA562 #62DEA5
tetradic
#A562DE #DE6762 #9BDE62 #62D9DE
square
#A562DE #DE6762 #9BDE62 #62D9DE
split-complementary
#A562DE #D9DE62 #62DE67
monochromatic
#6822A3 #882FD3 #A562DE #C295E9 #DFC7F3

Accessibility & contrast

On white

3.89
#A562DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A562DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562DE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562DE#FFFFFF#000000##000000
##A562DE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE2
Deuteranopia (green-blind)
#4E82DB
Tritanopia (blue-blind)
#9C7997
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a562de;
/* rgb */ color: rgb(165, 98, 222);
/* oklch */ color: oklch(62.5% 0.187 306.7);
Tailwind
colors: {
  custom: {
    50: '#c391e9',
    500: '#a562de',
    950: '#000000',
  },
}
SCSS
$custom: #a562de;
$custom-light: #c391e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a562de",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 272.419,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62481,
    "c": 0.18676,
    "h": 306.7
  },
  "luminance": 0.22009
}

Semantic roles & 50–950 ramp

primary
#A562DE
secondary
#CCE4B7
accent
#CD186B
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A562DE

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

Preview Lab → · Contrast checker → · Palette generator →

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