#A462E1#A462E1

#A462E1 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.6% C 0.190 H 305.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A462E1
RGBrgb(164, 98, 225)
HSLhsl(271, 68%, 63%)
HSVhsv(271, 56%, 88%)
CMYKcmyk(27.1%, 56.4%, 0%, 11.8%)
CIE-LABlab(54.10, 50.23, -54.77)
CIE-LCHlch(54.10, 74.31, 312.52°)
OKLaboklab(62.56% 0.1105 -0.1544)
OKLCHoklch(62.56% 0.19 305.6)
XYZxyz(33.2652, 22.0644, 73.7260)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462E1 #9FE162
analogous
#6462E1 #A462E1 #E162DE
triadic
#A462E1 #E1A462 #62E1A4
tetradic
#A462E1 #E16462 #9FE162 #62DEE1
square
#A462E1 #E16462 #9FE162 #62DEE1
split-complementary
#A462E1 #DEE162 #62E164
monochromatic
#6720A8 #862FD7 #A462E1 #C295EB #E0C9F5

Accessibility & contrast

On white

3.88
#A462E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A462E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462E1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462E1#FFFFFF#000000##000000
##A462E11.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#317FE5
Deuteranopia (green-blind)
#4B82DE
Tritanopia (blue-blind)
#9A7A98
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a462e1;
/* rgb */ color: rgb(164, 98, 225);
/* oklch */ color: oklch(62.6% 0.190 305.6);
Tailwind
colors: {
  custom: {
    50: '#c291eb',
    500: '#a462e1',
    950: '#000000',
  },
}
SCSS
$custom: #a462e1;
$custom-light: #c291eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a462e1",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 271.181,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.18988,
    "h": 305.6
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#A462E1
secondary
#CFE6B9
accent
#D0166F
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A462E1

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

Preview Lab → · Contrast checker → · Palette generator →

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