#A562E4#A562E4

#A562E4 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.8% C 0.194 H 305.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A562E4
RGBrgb(165, 98, 228)
HSLhsl(271, 71%, 64%)
HSVhsv(271, 57%, 89%)
CMYKcmyk(27.6%, 57%, 0%, 10.6%)
CIE-LABlab(54.38, 51.17, -55.99)
CIE-LCHlch(54.38, 75.85, 312.42°)
OKLaboklab(62.85% 0.1118 -0.158)
OKLCHoklch(62.85% 0.194 305.3)
XYZxyz(33.8853, 22.3364, 75.9100)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562E4 #A1E462
analogous
#6462E4 #A562E4 #E462E2
triadic
#A562E4 #E4A562 #62E4A5
tetradic
#A562E4 #E46462 #A1E462 #62E2E4
square
#A562E4 #E46462 #A1E462 #62E2E4
split-complementary
#A562E4 #E2E462 #62E464
monochromatic
#681EAE #872EDB #A562E4 #C396ED #E1CAF6

Accessibility & contrast

On white

3.84
#A562E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#A562E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562E4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562E4#FFFFFF#000000##000000
##A562E41.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E80E8
Deuteranopia (green-blind)
#4982E1
Tritanopia (blue-blind)
#9A7B9A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a562e4;
/* rgb */ color: rgb(165, 98, 228);
/* oklch */ color: oklch(62.8% 0.194 305.3);
Tailwind
colors: {
  custom: {
    50: '#c391ed',
    500: '#a562e4',
    950: '#000000',
  },
}
SCSS
$custom: #a562e4;
$custom-light: #c391ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a562e4",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 270.923,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62846,
    "c": 0.19354,
    "h": 305.3
  },
  "luminance": 0.22336
}

Semantic roles & 50–950 ramp

primary
#A562E4
secondary
#D0E8BA
accent
#D31370
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A562E4

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

Preview Lab → · Contrast checker → · Palette generator →

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