#A462E7#A462E7

#A462E7 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.9% C 0.197 H 304.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A462E7
RGBrgb(164, 98, 231)
HSLhsl(270, 73%, 65%)
HSVhsv(270, 58%, 91%)
CMYKcmyk(29%, 57.6%, 0%, 9.4%)
CIE-LABlab(54.45, 51.63, -57.58)
CIE-LCHlch(54.45, 77.34, 311.88°)
OKLaboklab(62.93% 0.1106 -0.1627)
OKLCHoklch(62.93% 0.197 304.2)
XYZxyz(34.0981, 22.3975, 78.1126)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462E7 #A5E762
analogous
#6263E7 #A462E7 #E662E7
triadic
#A462E7 #E7A462 #62E7A4
tetradic
#A462E7 #E76263 #A5E762 #62E7E6
square
#A462E7 #E76263 #A5E762 #62E7E6
split-complementary
#A462E7 #E7E662 #63E762
monochromatic
#671BB3 #852DDF #A462E7 #C397EF #E2CCF7

Accessibility & contrast

On white

3.83
#A462E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#A462E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462E7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462E7#FFFFFF#000000##000000
##A462E71.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2881EB
Deuteranopia (green-blind)
#4582E4
Tritanopia (blue-blind)
#987C9B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a462e7;
/* rgb */ color: rgb(164, 98, 231);
/* oklch */ color: oklch(62.9% 0.197 304.2);
Tailwind
colors: {
  custom: {
    50: '#c391ef',
    500: '#a462e7',
    950: '#000000',
  },
}
SCSS
$custom: #a462e7;
$custom-light: #c391ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a462e7",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 269.774,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62925,
    "c": 0.19668,
    "h": 304.2
  },
  "luminance": 0.22397
}

Semantic roles & 50–950 ramp

primary
#A462E7
secondary
#D3E9BB
accent
#D61073
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A462E7

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

Preview Lab → · Contrast checker → · Palette generator →

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