#A462DC#A462DC

#A462DC is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.3% C 0.184 H 306.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A462DC
RGBrgb(164, 98, 220)
HSLhsl(272, 64%, 62%)
HSVhsv(272, 55%, 86%)
CMYKcmyk(25.5%, 55.5%, 0%, 13.7%)
CIE-LABlab(53.81, 49.07, -52.41)
CIE-LCHlch(53.81, 71.79, 313.12°)
OKLaboklab(62.25% 0.1104 -0.1475)
OKLCHoklch(62.25% 0.184 306.8)
XYZxyz(32.5931, 21.7955, 70.1862)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462DC #9ADC62
analogous
#6762DC #A462DC #DC62D7
triadic
#A462DC #DCA462 #62DCA4
tetradic
#A462DC #DC6762 #9ADC62 #62D7DC
square
#A462DC #DC6762 #9ADC62 #62D7DC
split-complementary
#A462DC #D7DC62 #62DC67
monochromatic
#6724A0 #8730D1 #A462DC #C194E7 #DEC6F2

Accessibility & contrast

On white

3.92
#A462DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#A462DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462DC#FFFFFF#000000##000000
##A462DC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#4F81D9
Tritanopia (blue-blind)
#9B7996
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a462dc;
/* rgb */ color: rgb(164, 98, 220);
/* oklch */ color: oklch(62.3% 0.184 306.8);
Tailwind
colors: {
  custom: {
    50: '#c291e7',
    500: '#a462dc',
    950: '#000000',
  },
}
SCSS
$custom: #a462dc;
$custom-light: #c291e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a462dc",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 272.459,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62253,
    "c": 0.18421,
    "h": 306.8
  },
  "luminance": 0.21795
}

Semantic roles & 50–950 ramp

primary
#A462DC
secondary
#CBE3B7
accent
#CB1A6B
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A462DC

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

Preview Lab → · Contrast checker → · Palette generator →

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