#A261D2#A261D2

#A261D2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.3% C 0.174 H 308.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A261D2
RGBrgb(162, 97, 210)
HSLhsl(275, 56%, 60%)
HSVhsv(275, 54%, 82%)
CMYKcmyk(22.9%, 53.8%, 0%, 17.6%)
CIE-LABlab(52.82, 46.80, -48.32)
CIE-LCHlch(52.82, 67.27, 314.09°)
OKLaboklab(61.3% 0.1087 -0.1356)
OKLCHoklch(61.3% 0.174 308.7)
XYZxyz(30.8056, 20.8844, 63.3685)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261D2 #91D261
analogous
#6961D2 #A261D2 #D261CA
triadic
#A261D2 #D2A261 #61D2A2
tetradic
#A261D2 #D26961 #91D261 #61CAD2
square
#A261D2 #D26961 #91D261 #61CAD2
split-complementary
#A261D2 #CAD261 #61D269
monochromatic
#642990 #8536BF #A261D2 #BE91E0 #DAC0ED

Accessibility & contrast

On white

4.06
#A261D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A261D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261D2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261D2#FFFFFF#000000##000000
##A261D21.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#547FCF
Tritanopia (blue-blind)
#9B7590
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a261d2;
/* rgb */ color: rgb(162, 97, 210);
/* oklch */ color: oklch(61.3% 0.174 308.7);
Tailwind
colors: {
  custom: {
    50: '#c090e0',
    500: '#a261d2',
    950: '#000000',
  },
}
SCSS
$custom: #a261d2;
$custom-light: #c090e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a261d2",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 274.513,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61296,
    "c": 0.17377,
    "h": 308.7
  },
  "luminance": 0.20884
}

Semantic roles & 50–950 ramp

primary
#A261D2
secondary
#C4DDB2
accent
#C32267
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A261D2

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

Preview Lab → · Contrast checker → · Palette generator →

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