#A562E7#A562E7

#A562E7 is a light, vivid violet. Relative luminance 0.225; OKLCH L 63.0% C 0.197 H 304.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A562E7
RGBrgb(165, 98, 231)
HSLhsl(270, 73%, 65%)
HSVhsv(270, 58%, 91%)
CMYKcmyk(28.6%, 57.6%, 0%, 9.4%)
CIE-LABlab(54.56, 51.87, -57.40)
CIE-LCHlch(54.56, 77.36, 312.10°)
OKLaboklab(63.03% 0.1118 -0.1621)
OKLCHoklch(63.03% 0.197 304.6)
XYZxyz(34.3054, 22.5044, 78.1223)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562E7 #A4E762
analogous
#6362E7 #A562E7 #E762E6
triadic
#A562E7 #E7A562 #62E7A5
tetradic
#A562E7 #E76362 #A4E762 #62E6E7
square
#A562E7 #E76362 #A4E762 #62E6E7
split-complementary
#A562E7 #E6E762 #62E763
monochromatic
#681BB3 #872DDF #A562E7 #C397EF #E2CCF7

Accessibility & contrast

On white

3.82
#A562E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#A562E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562E7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562E7#FFFFFF#000000##000000
##A562E71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EB
Deuteranopia (green-blind)
#4683E4
Tritanopia (blue-blind)
#997C9B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a562e7;
/* rgb */ color: rgb(165, 98, 231);
/* oklch */ color: oklch(63.0% 0.197 304.6);
Tailwind
colors: {
  custom: {
    50: '#c391ef',
    500: '#a562e7',
    950: '#000000',
  },
}
SCSS
$custom: #a562e7;
$custom-light: #c391ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a562e7",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 270.226,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63031,
    "c": 0.19692,
    "h": 304.6
  },
  "luminance": 0.22504
}

Semantic roles & 50–950 ramp

primary
#A562E7
secondary
#D2E9BB
accent
#D61072
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A562E7

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

Preview Lab → · Contrast checker → · Palette generator →

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