#A6219E#A6219E

#A6219E is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.211 H 330.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A6219E
RGBrgb(166, 33, 158)
HSLhsl(304, 67%, 39%)
HSVhsv(304, 80%, 65%)
CMYKcmyk(0%, 80.1%, 4.8%, 34.9%)
CIE-LABlab(40.68, 64.73, -37.18)
CIE-LCHlch(40.68, 74.64, 330.13°)
OKLaboklab(51.67% 0.1844 -0.1026)
OKLCHoklch(51.67% 0.211 330.9)
XYZxyz(22.4413, 11.6652, 33.4108)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6219E #21A629
analogous
#6C21A6 #A6219E #A6215C
triadic
#A6219E #9EA621 #219EA6
tetradic
#A6219E #A66C21 #21A629 #215CA6
square
#A6219E #A66C21 #21A629 #215CA6
split-complementary
#A6219E #5CA621 #21A66C
monochromatic
#400D3D #73176D #A6219E #D62FCC #E062D8

Accessibility & contrast

On white

6.30
#A6219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A6219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6219E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6219E#FFFFFF#000000##FFFFFF
##A6219E1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#4E669B
Tritanopia (blue-blind)
#AD3460
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6219e;
/* rgb */ color: rgb(166, 33, 158);
/* oklch */ color: oklch(51.7% 0.211 330.9);
Tailwind
colors: {
  custom: {
    50: '#c46ebb',
    500: '#a6219e',
    950: '#000000',
  },
}
SCSS
$custom: #a6219e;
$custom-light: #c46ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#a6219e",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 303.609,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.21107,
    "h": 330.9
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#A6219E
secondary
#5EC564
accent
#EA483E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6219E

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

Preview Lab → · Contrast checker → · Palette generator →

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