#A462EA#A462EA

#A462EA is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.1% C 0.200 H 303.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A462EA
RGBrgb(164, 98, 234)
HSLhsl(269, 76%, 65%)
HSVhsv(269, 58%, 92%)
CMYKcmyk(29.9%, 58.1%, 0%, 8.2%)
CIE-LABlab(54.63, 52.34, -58.98)
CIE-LCHlch(54.63, 78.85, 311.59°)
OKLaboklab(63.11% 0.1106 -0.1668)
OKLCHoklch(63.11% 0.2 303.5)
XYZxyz(34.5255, 22.5685, 80.3632)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462EA #A8EA62
analogous
#6264EA #A462EA #E862EA
triadic
#A462EA #EAA462 #62EAA4
tetradic
#A462EA #EA6264 #A8EA62 #62EAE8
square
#A462EA #EA6264 #A8EA62 #62EAE8
split-complementary
#A462EA #EAE862 #64EA62
monochromatic
#6619B9 #852CE3 #A462EA #C398F1 #E3CEF8

Accessibility & contrast

On white

3.81
#A462EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#A462EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462EA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462EA#FFFFFF#000000##000000
##A462EA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2381EE
Deuteranopia (green-blind)
#4283E7
Tritanopia (blue-blind)
#977D9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a462ea;
/* rgb */ color: rgb(164, 98, 234);
/* oklch */ color: oklch(63.1% 0.200 303.5);
Tailwind
colors: {
  custom: {
    50: '#c391f1',
    500: '#a462ea',
    950: '#000000',
  },
}
SCSS
$custom: #a462ea;
$custom-light: #c391f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a462ea",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 269.118,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63113,
    "c": 0.20008,
    "h": 303.5
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#A462EA
secondary
#D5EBBD
accent
#D90D76
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A462EA

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

Preview Lab → · Contrast checker → · Palette generator →

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