#A462E3#A462E3

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

Color values

HEX#A462E3
RGBrgb(164, 98, 227)
HSLhsl(271, 70%, 64%)
HSVhsv(271, 57%, 89%)
CMYKcmyk(27.8%, 56.8%, 0%, 11%)
CIE-LABlab(54.21, 50.69, -55.71)
CIE-LCHlch(54.21, 75.32, 312.30°)
OKLaboklab(62.68% 0.1105 -0.1572)
OKLCHoklch(62.68% 0.192 305.1)
XYZxyz(33.5397, 22.1741, 75.1713)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462E3 #A1E362
analogous
#6362E3 #A462E3 #E362E1
triadic
#A462E3 #E3A462 #62E3A4
tetradic
#A462E3 #E36362 #A1E362 #62E1E3
square
#A462E3 #E36362 #A1E362 #62E1E3
split-complementary
#A462E3 #E1E362 #62E363
monochromatic
#671FAC #862EDA #A462E3 #C296EC #E0CAF6

Accessibility & contrast

On white

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

On black

5.43
#A462E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462E3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462E3#FFFFFF#000000##000000
##A462E31.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E80E7
Deuteranopia (green-blind)
#4982E0
Tritanopia (blue-blind)
#997B99
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a462e3;
/* rgb */ color: rgb(164, 98, 227);
/* oklch */ color: oklch(62.7% 0.192 305.1);
Tailwind
colors: {
  custom: {
    50: '#c291ec',
    500: '#a462e3',
    950: '#000000',
  },
}
SCSS
$custom: #a462e3;
$custom-light: #c291ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a462e3",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 227
  },
  "hsl": {
    "h": 270.698,
    "s": 69.73,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62677,
    "c": 0.19215,
    "h": 305.1
  },
  "luminance": 0.22174
}

Semantic roles & 50–950 ramp

primary
#A462E3
secondary
#D0E7BA
accent
#D21471
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A462E3

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

Preview Lab → · Contrast checker → · Palette generator →

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