#A462AA#A462AA

#A462AA is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.6% C 0.129 H 324.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A462AA
RGBrgb(164, 98, 170)
HSLhsl(295, 30%, 53%)
HSVhsv(295, 42%, 67%)
CMYKcmyk(3.5%, 42.4%, 0%, 33.3%)
CIE-LABlab(51.30, 38.31, -27.64)
CIE-LCHlch(51.30, 47.24, 324.19°)
OKLaboklab(59.58% 0.1043 -0.0758)
OKLCHoklch(59.58% 0.129 324)
XYZxyz(26.9325, 19.5313, 40.3737)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462AA #68AA62
analogous
#8062AA #A462AA #AA628C
triadic
#A462AA #AAA462 #62AAA4
tetradic
#A462AA #AA8062 #68AA62 #628CAA
square
#A462AA #AA8062 #68AA62 #628CAA
split-complementary
#A462AA #8CAA62 #62AA80
monochromatic
#5B335E #814986 #A462AA #BB8ABF #D2B1D5

Accessibility & contrast

On white

4.28
#A462AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A462AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462AA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462AA#FFFFFF#000000##000000
##A462AA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#A76A7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a462aa;
/* rgb */ color: rgb(164, 98, 170);
/* oklch */ color: oklch(59.6% 0.129 324.0);
Tailwind
colors: {
  custom: {
    50: '#c090c3',
    500: '#a462aa',
    950: '#000000',
  },
}
SCSS
$custom: #a462aa;
$custom-light: #c090c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a462aa",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 295,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59579,
    "c": 0.1289,
    "h": 324
  },
  "luminance": 0.1953
}

Semantic roles & 50–950 ramp

primary
#A462AA
secondary
#A7C4A4
accent
#C6626A
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120D12
muted
#817D81

Preview Lab

Preview with #A462AA

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

Preview Lab → · Contrast checker → · Palette generator →

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