#A462BA#A462BA

#A462BA is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.4% C 0.146 H 317.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A462BA
RGBrgb(164, 98, 186)
HSLhsl(285, 39%, 56%)
HSVhsv(285, 47%, 73%)
CMYKcmyk(11.8%, 47.3%, 0%, 27.1%)
CIE-LABlab(52.03, 41.57, -35.79)
CIE-LCHlch(52.03, 54.86, 319.27°)
OKLaboklab(60.36% 0.1072 -0.0992)
OKLCHoklch(60.36% 0.146 317.2)
XYZxyz(28.5392, 20.1739, 48.8355)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462BA #78BA62
analogous
#7862BA #A462BA #BA62A4
triadic
#A462BA #BAA462 #62BAA4
tetradic
#A462BA #BA7862 #78BA62 #62A4BA
square
#A462BA #BA7862 #78BA62 #62A4BA
split-complementary
#A462BA #A4BA62 #62BA78
monochromatic
#613170 #85449B #A462BA #BD8DCD #D5B7DF

Accessibility & contrast

On white

4.17
#A462BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A462BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462BA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462BA#FFFFFF#000000##000000
##A462BA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BD
Deuteranopia (green-blind)
#657EB8
Tritanopia (blue-blind)
#A46E85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a462ba;
/* rgb */ color: rgb(164, 98, 186);
/* oklch */ color: oklch(60.4% 0.146 317.2);
Tailwind
colors: {
  custom: {
    50: '#c190cf',
    500: '#a462ba',
    950: '#000000',
  },
}
SCSS
$custom: #a462ba;
$custom-light: #c190cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a462ba",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 285,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60363,
    "c": 0.14601,
    "h": 317.2
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#A462BA
secondary
#B3CEAA
accent
#CF5976
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A462BA

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

Preview Lab → · Contrast checker → · Palette generator →

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