#A415A2#A415A2

#A415A2 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.9% C 0.222 H 328.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A415A2
RGBrgb(164, 21, 162)
HSLhsl(301, 77%, 36%)
HSVhsv(301, 87%, 64%)
CMYKcmyk(0%, 87.2%, 1.2%, 35.7%)
CIE-LABlab(39.65, 67.60, -41.25)
CIE-LCHlch(39.65, 79.19, 328.61°)
OKLaboklab(50.95% 0.1899 -0.1144)
OKLCHoklch(50.95% 0.222 328.9)
XYZxyz(22.0994, 11.0392, 35.1423)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A415A2 #15A417
analogous
#5F15A4 #A415A2 #A4155B
triadic
#A415A2 #A2A415 #15A2A4
tetradic
#A415A2 #A45F15 #15A417 #155BA4
square
#A415A2 #A45F15 #15A417 #155BA4
split-complementary
#A415A2 #5BA415 #15A45F
monochromatic
#370737 #6E0E6C #A415A2 #DA1CD8 #E84BE6

Accessibility & contrast

On white

6.55
#A415A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A415A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A415A2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A415A2#FFFFFF#000000##FFFFFF
##A415A21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#AA3160
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a415a2;
/* rgb */ color: rgb(164, 21, 162);
/* oklch */ color: oklch(50.9% 0.222 328.9);
Tailwind
colors: {
  custom: {
    50: '#c36abe',
    500: '#a415a2',
    950: '#000000',
  },
}
SCSS
$custom: #a415a2;
$custom-light: #c36abe;
$custom-dark: #000000;
JSON
{
  "hex": "#a415a2",
  "rgb": {
    "r": 164,
    "g": 21,
    "b": 162
  },
  "hsl": {
    "h": 300.839,
    "s": 77.297,
    "l": 36.275
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.22169,
    "h": 328.9
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#A415A2
secondary
#4BC94D
accent
#F43734
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #A415A2

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

Preview Lab → · Contrast checker → · Palette generator →

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