#A462E4#A462E4

#A462E4 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.7% C 0.193 H 304.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A462E4
RGBrgb(164, 98, 228)
HSLhsl(270, 71%, 64%)
HSVhsv(270, 57%, 89%)
CMYKcmyk(28.1%, 57%, 0%, 10.6%)
CIE-LABlab(54.27, 50.93, -56.18)
CIE-LCHlch(54.27, 75.83, 312.19°)
OKLaboklab(62.74% 0.1105 -0.1585)
OKLCHoklch(62.74% 0.193 304.9)
XYZxyz(33.6781, 22.2295, 75.9002)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462E4 #A2E462
analogous
#6362E4 #A462E4 #E462E3
triadic
#A462E4 #E4A462 #62E4A4
tetradic
#A462E4 #E46362 #A2E462 #62E3E4
square
#A462E4 #E46362 #A2E462 #62E3E4
split-complementary
#A462E4 #E3E462 #62E463
monochromatic
#671EAE #862EDB #A462E4 #C296ED #E1CAF6

Accessibility & contrast

On white

3.86
#A462E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#A462E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462E4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462E4#FFFFFF#000000##000000
##A462E41.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E8
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#997B9A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a462e4;
/* rgb */ color: rgb(164, 98, 228);
/* oklch */ color: oklch(62.7% 0.193 304.9);
Tailwind
colors: {
  custom: {
    50: '#c291ed',
    500: '#a462e4',
    950: '#000000',
  },
}
SCSS
$custom: #a462e4;
$custom-light: #c291ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a462e4",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 270.462,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62739,
    "c": 0.19328,
    "h": 304.9
  },
  "luminance": 0.22229
}

Semantic roles & 50–950 ramp

primary
#A462E4
secondary
#D1E8BA
accent
#D31371
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A462E4

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

Preview Lab → · Contrast checker → · Palette generator →

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