#A261DD#A261DD

#A261DD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.9% C 0.186 H 305.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A261DD
RGBrgb(162, 97, 221)
HSLhsl(271, 65%, 62%)
HSVhsv(271, 56%, 87%)
CMYKcmyk(26.7%, 56.1%, 0%, 13.3%)
CIE-LABlab(53.44, 49.33, -53.57)
CIE-LCHlch(53.44, 72.83, 312.64°)
OKLaboklab(61.95% 0.1091 -0.151)
OKLCHoklch(61.95% 0.186 305.9)
XYZxyz(32.2234, 21.4515, 70.8356)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261DD #9CDD61
analogous
#6461DD #A261DD #DD61DA
triadic
#A261DD #DDA261 #61DDA2
tetradic
#A261DD #DD6461 #9CDD61 #61DADD
square
#A261DD #DD6461 #9CDD61 #61DADD
split-complementary
#A261DD #DADD61 #61DD64
monochromatic
#6523A1 #842FD2 #A261DD #C093E8 #DDC6F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A261DD#FFFFFF#000000##000000
##A261DD1.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)
#337EE1
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#987996
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a261dd;
/* rgb */ color: rgb(162, 97, 221);
/* oklch */ color: oklch(61.9% 0.186 305.9);
Tailwind
colors: {
  custom: {
    50: '#c190e8',
    500: '#a261dd',
    950: '#000000',
  },
}
SCSS
$custom: #a261dd;
$custom-light: #c190e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a261dd",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 271.452,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61949,
    "c": 0.18629,
    "h": 305.9
  },
  "luminance": 0.21451
}

Semantic roles & 50–950 ramp

primary
#A261DD
secondary
#CCE4B6
accent
#CC196E
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A261DD

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

Preview Lab → · Contrast checker → · Palette generator →

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