#A460C2#A460C2

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

Color values

HEX#A460C2
RGBrgb(164, 96, 194)
HSLhsl(282, 45%, 57%)
HSVhsv(282, 51%, 76%)
CMYKcmyk(15.5%, 50.5%, 0%, 23.9%)
CIE-LABlab(52.01, 44.34, -40.44)
CIE-LCHlch(52.01, 60.01, 317.63°)
OKLaboklab(60.48% 0.1111 -0.1126)
OKLCHoklch(60.48% 0.158 314.6)
XYZxyz(29.2288, 20.1541, 53.3789)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A460C2 #7EC260
analogous
#7360C2 #A460C2 #C260AF
triadic
#A460C2 #C2A460 #60C2A4
tetradic
#A460C2 #C27360 #7EC260 #60AFC2
square
#A460C2 #C27360 #7EC260 #60AFC2
split-complementary
#A460C2 #AFC260 #60C273
monochromatic
#622E79 #863FA5 #A460C2 #BD8CD3 #D7B8E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A460C2#FFFFFF#000000##000000
##A460C21.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)
#4A78C5
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#A26F88
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a460c2;
/* rgb */ color: rgb(164, 96, 194);
/* oklch */ color: oklch(60.5% 0.158 314.6);
Tailwind
colors: {
  custom: {
    50: '#c18fd5',
    500: '#a460c2',
    950: '#000000',
  },
}
SCSS
$custom: #a460c2;
$custom-light: #c18fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a460c2",
  "rgb": {
    "r": 164,
    "g": 96,
    "b": 194
  },
  "hsl": {
    "h": 281.633,
    "s": 44.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.15817,
    "h": 314.6
  },
  "luminance": 0.20153
}

Semantic roles & 50–950 ramp

primary
#A460C2
secondary
#B7D3AB
accent
#D4547B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #A460C2

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

Preview Lab → · Contrast checker → · Palette generator →

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