#A562DB#A562DB

#A562DB is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.3% C 0.183 H 307.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A562DB
RGBrgb(165, 98, 219)
HSLhsl(273, 63%, 62%)
HSVhsv(273, 55%, 86%)
CMYKcmyk(24.7%, 55.3%, 0%, 14.1%)
CIE-LABlab(53.87, 49.09, -51.74)
CIE-LCHlch(53.87, 71.32, 313.49°)
OKLaboklab(62.3% 0.1116 -0.1455)
OKLCHoklch(62.3% 0.183 307.5)
XYZxyz(32.6683, 21.8496, 69.5005)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562DB #98DB62
analogous
#6962DB #A562DB #DB62D5
triadic
#A562DB #DBA562 #62DBA5
tetradic
#A562DB #DB6962 #98DB62 #62D5DB
square
#A562DB #DB6962 #98DB62 #62D5DB
split-complementary
#A562DB #D5DB62 #62DB69
monochromatic
#68249E #8830D0 #A562DB #C294E6 #DEC6F2

Accessibility & contrast

On white

3.91
#A562DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A562DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562DB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562DB#FFFFFF#000000##000000
##A562DB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#5181D8
Tritanopia (blue-blind)
#9D7895
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a562db;
/* rgb */ color: rgb(165, 98, 219);
/* oklch */ color: oklch(62.3% 0.183 307.5);
Tailwind
colors: {
  custom: {
    50: '#c391e7',
    500: '#a562db',
    950: '#000000',
  },
}
SCSS
$custom: #a562db;
$custom-light: #c391e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a562db",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 273.223,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62302,
    "c": 0.18337,
    "h": 307.5
  },
  "luminance": 0.21849
}

Semantic roles & 50–950 ramp

primary
#A562DB
secondary
#CAE3B6
accent
#CA1B69
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A562DB

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

Preview Lab → · Contrast checker → · Palette generator →

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