#A261DC#A261DC

#A261DC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.9% C 0.185 H 306.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A261DC
RGBrgb(162, 97, 220)
HSLhsl(272, 64%, 62%)
HSVhsv(272, 56%, 86%)
CMYKcmyk(26.4%, 55.9%, 0%, 13.7%)
CIE-LABlab(53.38, 49.10, -53.10)
CIE-LCHlch(53.38, 72.32, 312.76°)
OKLaboklab(61.89% 0.1091 -0.1496)
OKLCHoklch(61.89% 0.185 306.1)
XYZxyz(32.0905, 21.3984, 70.1360)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261DC #9BDC61
analogous
#6461DC #A261DC #DC61D9
triadic
#A261DC #DCA261 #61DCA2
tetradic
#A261DC #DC6461 #9BDC61 #61D9DC
square
#A261DC #DC6461 #9BDC61 #61D9DC
split-complementary
#A261DC #D9DC61 #61DC64
monochromatic
#65239F #852FD1 #A261DC #BF93E7 #DDC5F2

Accessibility & contrast

On white

3.98
#A261DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A261DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261DC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261DC#FFFFFF#000000##000000
##A261DC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a261dc;
/* rgb */ color: rgb(162, 97, 220);
/* oklch */ color: oklch(61.9% 0.185 306.1);
Tailwind
colors: {
  custom: {
    50: '#c190e7',
    500: '#a261dc',
    950: '#000000',
  },
}
SCSS
$custom: #a261dc;
$custom-light: #c190e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a261dc",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 271.707,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.18515,
    "h": 306.1
  },
  "luminance": 0.21398
}

Semantic roles & 50–950 ramp

primary
#A261DC
secondary
#CBE3B6
accent
#CC1A6E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A261DC

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

Preview Lab → · Contrast checker → · Palette generator →

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