#A462E5#A462E5

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

Color values

HEX#A462E5
RGBrgb(164, 98, 229)
HSLhsl(270, 72%, 64%)
HSVhsv(270, 57%, 90%)
CMYKcmyk(28.4%, 57.2%, 0%, 10.2%)
CIE-LABlab(54.33, 51.16, -56.65)
CIE-LCHlch(54.33, 76.33, 312.09°)
OKLaboklab(62.8% 0.1106 -0.1599)
OKLCHoklch(62.8% 0.194 304.7)
XYZxyz(33.8173, 22.2852, 76.6335)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462E5 #A3E562
analogous
#6362E5 #A462E5 #E562E5
triadic
#A462E5 #E5A462 #62E5A4
tetradic
#A462E5 #E56362 #A3E562 #62E5E5
square
#A462E5 #E56362 #A3E562 #62E5E5
split-complementary
#A462E5 #E5E562 #62E563
monochromatic
#671DB0 #862DDC #A462E5 #C297EE #E1CBF6

Accessibility & contrast

On white

3.85
#A462E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#A462E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462E5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462E5#FFFFFF#000000##000000
##A462E51.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E9
Deuteranopia (green-blind)
#4782E2
Tritanopia (blue-blind)
#997C9A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a462e5;
/* rgb */ color: rgb(164, 98, 229);
/* oklch */ color: oklch(62.8% 0.194 304.7);
Tailwind
colors: {
  custom: {
    50: '#c391ee',
    500: '#a462e5',
    950: '#000000',
  },
}
SCSS
$custom: #a462e5;
$custom-light: #c391ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a462e5",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 270.229,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.628,
    "c": 0.19441,
    "h": 304.7
  },
  "luminance": 0.22285
}

Semantic roles & 50–950 ramp

primary
#A462E5
secondary
#D1E8BB
accent
#D41272
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A462E5

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

Preview Lab → · Contrast checker → · Palette generator →

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