#A460F2#A460F2

#A460F2 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.3% C 0.212 H 302.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A460F2
RGBrgb(164, 96, 242)
HSLhsl(268, 85%, 66%)
HSVhsv(268, 60%, 95%)
CMYKcmyk(32.2%, 60.3%, 0%, 5.1%)
CIE-LABlab(54.73, 55.27, -63.28)
CIE-LCHlch(54.73, 84.01, 311.13°)
OKLaboklab(63.35% 0.1128 -0.1794)
OKLCHoklch(63.35% 0.212 302.2)
XYZxyz(35.5160, 22.6690, 86.4916)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A460F2 #AEF260
analogous
#6065F2 #A460F2 #ED60F2
triadic
#A460F2 #F2A460 #60F2A4
tetradic
#A460F2 #F26065 #AEF260 #60F2ED
square
#A460F2 #F26065 #AEF260 #60F2ED
split-complementary
#A460F2 #F2ED60 #65F260
monochromatic
#6610C7 #8427ED #A460F2 #C499F7 #E5D1FB

Accessibility & contrast

On white

3.79
#A460F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#A460F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A460F2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A460F2#FFFFFF#000000##000000
##A460F21.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#3482EF
Tritanopia (blue-blind)
#957FA0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a460f2;
/* rgb */ color: rgb(164, 96, 242);
/* oklch */ color: oklch(63.3% 0.212 302.2);
Tailwind
colors: {
  custom: {
    50: '#c390f7',
    500: '#a460f2',
    950: '#000000',
  },
}
SCSS
$custom: #a460f2;
$custom-light: #c390f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a460f2",
  "rgb": {
    "r": 164,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 267.945,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63346,
    "c": 0.21187,
    "h": 302.2
  },
  "luminance": 0.22669
}

Semantic roles & 50–950 ramp

primary
#A460F2
secondary
#D9EFBF
accent
#E1047A
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A460F2

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

Preview Lab → · Contrast checker → · Palette generator →

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