#A462EB#A462EB

#A462EB is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.2% C 0.201 H 303.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A462EB
RGBrgb(164, 98, 235)
HSLhsl(269, 77%, 65%)
HSVhsv(269, 58%, 92%)
CMYKcmyk(30.2%, 58.3%, 0%, 7.8%)
CIE-LABlab(54.69, 52.57, -59.44)
CIE-LCHlch(54.69, 79.35, 311.49°)
OKLaboklab(63.18% 0.1106 -0.1681)
OKLCHoklch(63.18% 0.201 303.3)
XYZxyz(34.6695, 22.6261, 81.1219)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462EB #A9EB62
analogous
#6264EB #A462EB #E862EB
triadic
#A462EB #EBA462 #62EBA4
tetradic
#A462EB #EB6264 #A9EB62 #62EBE8
square
#A462EB #EB6264 #A9EB62 #62EBE8
split-complementary
#A462EB #EBE862 #64EB62
monochromatic
#6618BB #852CE4 #A462EB #C398F2 #E3CFF9

Accessibility & contrast

On white

3.80
#A462EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#A462EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462EB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462EB#FFFFFF#000000##000000
##A462EB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#977E9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a462eb;
/* rgb */ color: rgb(164, 98, 235);
/* oklch */ color: oklch(63.2% 0.201 303.3);
Tailwind
colors: {
  custom: {
    50: '#c391f2',
    500: '#a462eb',
    950: '#000000',
  },
}
SCSS
$custom: #a462eb;
$custom-light: #c391f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a462eb",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 268.905,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63176,
    "c": 0.20121,
    "h": 303.3
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A462EB

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

Preview Lab → · Contrast checker → · Palette generator →

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