#A462FE#A462FE

#A462FE is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.4% C 0.223 H 299.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A462FE
RGBrgb(164, 98, 254)
HSLhsl(265, 99%, 69%)
HSVhsv(265, 61%, 100%)
CMYKcmyk(35.4%, 61.4%, 0%, 0.4%)
CIE-LABlab(55.87, 57.14, -68.10)
CIE-LCHlch(55.87, 88.90, 310.00°)
OKLaboklab(64.42% 0.1099 -0.1936)
OKLCHoklch(64.42% 0.223 299.6)
XYZxyz(37.5625, 23.7833, 96.3584)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462FE #BCFE62
analogous
#626EFE #A462FE #F262FE
triadic
#A462FE #FEA462 #62FEA4
tetradic
#A462FE #FE626E #BCFE62 #62FEF2
square
#A462FE #FE626E #BCFE62 #62FEF2
split-complementary
#A462FE #FEF262 #6EFE62
monochromatic
#6101E4 #8125FE #A462FE #C79FFE #EADCFF

Accessibility & contrast

On white

3.65
#A462FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#A462FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462FE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462FE#FFFFFF#000000##000000
##A462FE1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#2185FB
Tritanopia (blue-blind)
#9084A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a462fe;
/* rgb */ color: rgb(164, 98, 254);
/* oklch */ color: oklch(64.4% 0.223 299.6);
Tailwind
colors: {
  custom: {
    50: '#c492ff',
    500: '#a462fe',
    950: '#000000',
  },
}
SCSS
$custom: #a462fe;
$custom-light: #c492ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a462fe",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 265.385,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64417,
    "c": 0.22258,
    "h": 299.6
  },
  "luminance": 0.23784
}

Semantic roles & 50–950 ramp

primary
#A462FE
secondary
#E1F5C7
accent
#E60084
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A462FE

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

Preview Lab → · Contrast checker → · Palette generator →

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