#A562EC#A562EC

#A562EC is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.3% C 0.203 H 303.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A562EC
RGBrgb(165, 98, 236)
HSLhsl(269, 78%, 65%)
HSVhsv(269, 58%, 93%)
CMYKcmyk(30.1%, 58.5%, 0%, 7.5%)
CIE-LABlab(54.86, 53.04, -59.72)
CIE-LCHlch(54.86, 79.87, 311.61°)
OKLaboklab(63.35% 0.1118 -0.1689)
OKLCHoklch(63.35% 0.203 303.5)
XYZxyz(35.0216, 22.7909, 81.8947)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562EC #A9EC62
analogous
#6264EC #A562EC #EA62EC
triadic
#A562EC #ECA562 #62ECA5
tetradic
#A562EC #EC6264 #A9EC62 #62ECEA
square
#A562EC #EC6264 #A9EC62 #62ECEA
split-complementary
#A562EC #ECEA62 #64EC62
monochromatic
#6717BD #862BE5 #A562EC #C499F3 #E4CFF9

Accessibility & contrast

On white

3.78
#A562EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A562EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562EC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562EC#FFFFFF#000000##000000
##A562EC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F82F0
Deuteranopia (green-blind)
#4183E9
Tritanopia (blue-blind)
#987E9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a562ec;
/* rgb */ color: rgb(165, 98, 236);
/* oklch */ color: oklch(63.3% 0.203 303.5);
Tailwind
colors: {
  custom: {
    50: '#c491f3',
    500: '#a562ec',
    950: '#000000',
  },
}
SCSS
$custom: #a562ec;
$custom-light: #c491f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a562ec",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 269.13,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63345,
    "c": 0.20256,
    "h": 303.5
  },
  "luminance": 0.22791
}

Semantic roles & 50–950 ramp

primary
#A562EC
secondary
#D6ECBE
accent
#DB0B76
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A562EC

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

Preview Lab → · Contrast checker → · Palette generator →

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