#A462C2#A462C2

#A462C2 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.8% C 0.155 H 314.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A462C2
RGBrgb(164, 98, 194)
HSLhsl(281, 44%, 57%)
HSVhsv(281, 49%, 76%)
CMYKcmyk(15.5%, 49.5%, 0%, 23.9%)
CIE-LABlab(52.42, 43.27, -39.79)
CIE-LCHlch(52.42, 58.78, 317.40°)
OKLaboklab(60.78% 0.1083 -0.1107)
OKLCHoklch(60.78% 0.155 314.4)
XYZxyz(29.4136, 20.5237, 53.4405)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462C2 #80C262
analogous
#7462C2 #A462C2 #C262B0
triadic
#A462C2 #C2A462 #62C2A4
tetradic
#A462C2 #C27462 #80C262 #62B0C2
square
#A462C2 #C27462 #80C262 #62B0C2
split-complementary
#A462C2 #B0C262 #62C274
monochromatic
#632F7A #8641A6 #A462C2 #BE8ED3 #D7BAE4

Accessibility & contrast

On white

4.11
#A462C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A462C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462C2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462C2#FFFFFF#000000##000000
##A462C21.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#A27189
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a462c2;
/* rgb */ color: rgb(164, 98, 194);
/* oklch */ color: oklch(60.8% 0.155 314.4);
Tailwind
colors: {
  custom: {
    50: '#c191d5',
    500: '#a462c2',
    950: '#000000',
  },
}
SCSS
$custom: #a462c2;
$custom-light: #c191d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a462c2",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 281.25,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.15487,
    "h": 314.4
  },
  "luminance": 0.20523
}

Semantic roles & 50–950 ramp

primary
#A462C2
secondary
#B9D3AC
accent
#D4547C
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #A462C2

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

Preview Lab → · Contrast checker → · Palette generator →

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