#A261A2#A261A2

#A261A2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 58.8% C 0.121 H 327.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A261A2
RGBrgb(162, 97, 162)
HSLhsl(300, 26%, 51%)
HSVhsv(300, 40%, 64%)
CMYKcmyk(0%, 40.1%, 0%, 36.5%)
CIE-LABlab(50.50, 36.67, -24.23)
CIE-LCHlch(50.50, 43.95, 326.55°)
OKLaboklab(58.81% 0.1016 -0.0661)
OKLCHoklch(58.81% 0.121 327)
XYZxyz(25.6961, 18.8406, 36.4585)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261A2 #61A261
analogous
#8161A2 #A261A2 #A26181
triadic
#A261A2 #A2A261 #61A2A2
tetradic
#A261A2 #A28161 #61A261 #6181A2
square
#A261A2 #A28161 #61A261 #6181A2
split-complementary
#A261A2 #81A261 #61A281
monochromatic
#563356 #7D497D #A261A2 #B988B9 #CFAECF

Accessibility & contrast

On white

4.40
#A261A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A261A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261A2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261A2#FFFFFF#000000##000000
##A261A21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#6D7BA0
Tritanopia (blue-blind)
#A6677A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a261a2;
/* rgb */ color: rgb(162, 97, 162);
/* oklch */ color: oklch(58.8% 0.121 327.0);
Tailwind
colors: {
  custom: {
    50: '#bf8fbd',
    500: '#a261a2',
    950: '#000000',
  },
}
SCSS
$custom: #a261a2;
$custom-light: #bf8fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a261a2",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 25.896,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58812,
    "c": 0.12122,
    "h": 327
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#A261A2
secondary
#A1BEA1
accent
#C26666
background
#FBF8FB
surface
#F7F0F6
border
#D0CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A261A2

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

Preview Lab → · Contrast checker → · Palette generator →

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