#A562E8#A562E8

#A562E8 is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.1% C 0.198 H 304.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A562E8
RGBrgb(165, 98, 232)
HSLhsl(270, 74%, 65%)
HSVhsv(270, 58%, 91%)
CMYKcmyk(28.9%, 57.8%, 0%, 9%)
CIE-LABlab(54.62, 52.10, -57.86)
CIE-LCHlch(54.62, 77.86, 312.00°)
OKLaboklab(63.09% 0.1118 -0.1635)
OKLCHoklch(63.09% 0.198 304.4)
XYZxyz(34.4470, 22.5610, 78.8683)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562E8 #A5E862
analogous
#6262E8 #A562E8 #E862E8
triadic
#A562E8 #E8A562 #62E8A5
tetradic
#A562E8 #E86262 #A5E862 #62E8E8
square
#A562E8 #E86262 #A5E862 #62E8E8
split-complementary
#A562E8 #E8E862 #62E862
monochromatic
#681BB5 #862DE0 #A562E8 #C497F0 #E2CDF8

Accessibility & contrast

On white

3.81
#A562E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#A562E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562E8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562E8#FFFFFF#000000##000000
##A562E81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2781EC
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#997C9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a562e8;
/* rgb */ color: rgb(165, 98, 232);
/* oklch */ color: oklch(63.1% 0.198 304.4);
Tailwind
colors: {
  custom: {
    50: '#c391f0',
    500: '#a562e8',
    950: '#000000',
  },
}
SCSS
$custom: #a562e8;
$custom-light: #c391f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a562e8",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 270,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63094,
    "c": 0.19805,
    "h": 304.4
  },
  "luminance": 0.22561
}

Semantic roles & 50–950 ramp

primary
#A562E8
secondary
#D3EABC
accent
#D70F73
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A562E8

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

Preview Lab → · Contrast checker → · Palette generator →

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