#A261D6#A261D6

#A261D6 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.5% C 0.178 H 307.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A261D6
RGBrgb(162, 97, 214)
HSLhsl(273, 59%, 61%)
HSVhsv(273, 55%, 84%)
CMYKcmyk(24.3%, 54.7%, 0%, 16.1%)
CIE-LABlab(53.04, 47.72, -50.24)
CIE-LCHlch(53.04, 69.29, 313.52°)
OKLaboklab(61.53% 0.1089 -0.1412)
OKLCHoklch(61.53% 0.178 307.6)
XYZxyz(31.3101, 21.0862, 66.0259)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261D6 #95D661
analogous
#6761D6 #A261D6 #D661D0
triadic
#A261D6 #D6A261 #61D6A2
tetradic
#A261D6 #D66761 #95D661 #61D0D6
square
#A261D6 #D66761 #95D661 #61D0D6
split-complementary
#A261D6 #D0D661 #61D667
monochromatic
#642796 #8533C6 #A261D6 #BF92E3 #DBC2EF

Accessibility & contrast

On white

4.03
#A261D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A261D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261D6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261D6#FFFFFF#000000##000000
##A261D61.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CDA
Deuteranopia (green-blind)
#517FD3
Tritanopia (blue-blind)
#9A7692
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a261d6;
/* rgb */ color: rgb(162, 97, 214);
/* oklch */ color: oklch(61.5% 0.178 307.6);
Tailwind
colors: {
  custom: {
    50: '#c090e3',
    500: '#a261d6',
    950: '#000000',
  },
}
SCSS
$custom: #a261d6;
$custom-light: #c090e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a261d6",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 214
  },
  "hsl": {
    "h": 273.333,
    "s": 58.794,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.17832,
    "h": 307.6
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#A261D6
secondary
#C7DFB3
accent
#C61F69
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #A261D6

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

Preview Lab → · Contrast checker → · Palette generator →

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