#A462E6#A462E6

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

Color values

HEX#A462E6
RGBrgb(164, 98, 230)
HSLhsl(270, 73%, 64%)
HSVhsv(270, 57%, 90%)
CMYKcmyk(28.7%, 57.4%, 0%, 9.8%)
CIE-LABlab(54.39, 51.39, -57.11)
CIE-LCHlch(54.39, 76.83, 311.98°)
OKLaboklab(62.86% 0.1106 -0.1613)
OKLCHoklch(62.86% 0.196 304.4)
XYZxyz(33.9573, 22.3412, 77.3709)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462E6 #A4E662
analogous
#6262E6 #A462E6 #E662E6
triadic
#A462E6 #E6A462 #62E6A4
tetradic
#A462E6 #E66262 #A4E662 #62E6E6
square
#A462E6 #E66262 #A4E662 #62E6E6
split-complementary
#A462E6 #E6E662 #62E662
monochromatic
#671CB1 #852DDE #A462E6 #C397EE #E1CCF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A462E6#FFFFFF#000000##000000
##A462E61.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)
#2A80EA
Deuteranopia (green-blind)
#4682E3
Tritanopia (blue-blind)
#987C9B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a462e6;
/* rgb */ color: rgb(164, 98, 230);
/* oklch */ color: oklch(62.9% 0.196 304.4);
Tailwind
colors: {
  custom: {
    50: '#c391ef',
    500: '#a462e6',
    950: '#000000',
  },
}
SCSS
$custom: #a462e6;
$custom-light: #c391ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a462e6",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 270,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.19555,
    "h": 304.4
  },
  "luminance": 0.22341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A462E6

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

Preview Lab → · Contrast checker → · Palette generator →

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