#A260DC#A260DC

#A260DC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.7% C 0.187 H 306.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A260DC
RGBrgb(162, 96, 220)
HSLhsl(272, 64%, 62%)
HSVhsv(272, 56%, 86%)
CMYKcmyk(26.4%, 56.4%, 0%, 13.7%)
CIE-LABlab(53.18, 49.63, -53.42)
CIE-LCHlch(53.18, 72.91, 312.89°)
OKLaboklab(61.74% 0.1104 -0.1505)
OKLCHoklch(61.74% 0.187 306.3)
XYZxyz(31.9987, 21.2147, 70.1054)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A260DC #9ADC60
analogous
#6460DC #A260DC #DC60D8
triadic
#A260DC #DCA260 #60DCA2
tetradic
#A260DC #DC6460 #9ADC60 #60D8DC
square
#A260DC #DC6460 #9ADC60 #60D8DC
split-complementary
#A260DC #D8DC60 #60DC64
monochromatic
#65239F #852ED1 #A260DC #BF92E7 #DDC4F2

Accessibility & contrast

On white

4.01
#A260DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A260DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A260DC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A260DC#FFFFFF#000000##000000
##A260DC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#4B7FD9
Tritanopia (blue-blind)
#997895
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a260dc;
/* rgb */ color: rgb(162, 96, 220);
/* oklch */ color: oklch(61.7% 0.187 306.3);
Tailwind
colors: {
  custom: {
    50: '#c190e7',
    500: '#a260dc',
    950: '#000000',
  },
}
SCSS
$custom: #a260dc;
$custom-light: #c190e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a260dc",
  "rgb": {
    "r": 162,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 271.935,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61743,
    "c": 0.18665,
    "h": 306.3
  },
  "luminance": 0.21214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A260DC

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

Preview Lab → · Contrast checker → · Palette generator →

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