#A562DF#A562DF

#A562DF is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.5% C 0.188 H 306.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A562DF
RGBrgb(165, 98, 223)
HSLhsl(272, 66%, 63%)
HSVhsv(272, 56%, 87%)
CMYKcmyk(26%, 56.1%, 0%, 12.5%)
CIE-LABlab(54.09, 50.01, -53.64)
CIE-LCHlch(54.09, 73.33, 312.99°)
OKLaboklab(62.54% 0.1117 -0.1511)
OKLCHoklch(62.54% 0.188 306.5)
XYZxyz(33.2012, 22.0627, 72.3072)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562DF #9CDF62
analogous
#6662DF #A562DF #DF62DB
triadic
#A562DF #DFA562 #62DFA5
tetradic
#A562DF #DF6662 #9CDF62 #62DBDF
square
#A562DF #DF6662 #9CDF62 #62DBDF
split-complementary
#A562DF #DBDF62 #62DF66
monochromatic
#6822A5 #882FD5 #A562DF #C295E9 #DFC8F4

Accessibility & contrast

On white

3.88
#A562DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A562DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562DF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562DF#FFFFFF#000000##000000
##A562DF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#4D82DC
Tritanopia (blue-blind)
#9C7A97
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a562df;
/* rgb */ color: rgb(165, 98, 223);
/* oklch */ color: oklch(62.5% 0.188 306.5);
Tailwind
colors: {
  custom: {
    50: '#c391e9',
    500: '#a562df',
    950: '#000000',
  },
}
SCSS
$custom: #a562df;
$custom-light: #c391e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a562df",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 272.16,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62541,
    "c": 0.18789,
    "h": 306.5
  },
  "luminance": 0.22062
}

Semantic roles & 50–950 ramp

primary
#A562DF
secondary
#CDE5B8
accent
#CE176C
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A562DF

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

Preview Lab → · Contrast checker → · Palette generator →

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