#A462EC#A462EC

#A462EC is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.2% C 0.202 H 303.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A462EC
RGBrgb(164, 98, 236)
HSLhsl(269, 78%, 65%)
HSVhsv(269, 58%, 93%)
CMYKcmyk(30.5%, 58.5%, 0%, 7.5%)
CIE-LABlab(54.75, 52.81, -59.90)
CIE-LCHlch(54.75, 79.86, 311.40°)
OKLaboklab(63.24% 0.1105 -0.1695)
OKLCHoklch(63.24% 0.202 303.1)
XYZxyz(34.8144, 22.6840, 81.8850)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462EC #AAEC62
analogous
#6265EC #A462EC #E962EC
triadic
#A462EC #ECA462 #62ECA4
tetradic
#A462EC #EC6265 #AAEC62 #62ECE9
square
#A462EC #EC6265 #AAEC62 #62ECE9
split-complementary
#A462EC #ECE962 #65EC62
monochromatic
#6617BD #842BE5 #A462EC #C499F3 #E3CFF9

Accessibility & contrast

On white

3.79
#A462EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A462EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462EC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462EC#FFFFFF#000000##000000
##A462EC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F0
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#967E9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a462ec;
/* rgb */ color: rgb(164, 98, 236);
/* oklch */ color: oklch(63.2% 0.202 303.1);
Tailwind
colors: {
  custom: {
    50: '#c391f3',
    500: '#a462ec',
    950: '#000000',
  },
}
SCSS
$custom: #a462ec;
$custom-light: #c391f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a462ec",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 268.696,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63239,
    "c": 0.20233,
    "h": 303.1
  },
  "luminance": 0.22684
}

Semantic roles & 50–950 ramp

primary
#A462EC
secondary
#D6ECBE
accent
#DB0B77
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A462EC

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

Preview Lab → · Contrast checker → · Palette generator →

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