#A460DC#A460DC

#A460DC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.187 H 307.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A460DC
RGBrgb(164, 96, 220)
HSLhsl(273, 64%, 62%)
HSVhsv(273, 56%, 86%)
CMYKcmyk(25.5%, 56.4%, 0%, 13.7%)
CIE-LABlab(53.41, 50.12, -53.04)
CIE-LCHlch(53.41, 72.97, 313.38°)
OKLaboklab(61.96% 0.1129 -0.1493)
OKLCHoklch(61.96% 0.187 307.1)
XYZxyz(32.4083, 21.4259, 70.1246)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A460DC #98DC60
analogous
#6660DC #A460DC #DC60D6
triadic
#A460DC #DCA460 #60DCA4
tetradic
#A460DC #DC6660 #98DC60 #60D6DC
square
#A460DC #DC6660 #98DC60 #60D6DC
split-complementary
#A460DC #D6DC60 #60DC66
monochromatic
#67239F #872ED1 #A460DC #C192E7 #DDC4F2

Accessibility & contrast

On white

3.97
#A460DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A460DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A460DC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A460DC#FFFFFF#000000##000000
##A460DC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#9B7795
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a460dc;
/* rgb */ color: rgb(164, 96, 220);
/* oklch */ color: oklch(62.0% 0.187 307.1);
Tailwind
colors: {
  custom: {
    50: '#c290e7',
    500: '#a460dc',
    950: '#000000',
  },
}
SCSS
$custom: #a460dc;
$custom-light: #c290e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a460dc",
  "rgb": {
    "r": 164,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 272.903,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.18722,
    "h": 307.1
  },
  "luminance": 0.21426
}

Semantic roles & 50–950 ramp

primary
#A460DC
secondary
#CAE3B5
accent
#CC1A6A
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A460DC

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

Preview Lab → · Contrast checker → · Palette generator →

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