#A6279E#A6279E

#A6279E is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.206 H 330.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A6279E
RGBrgb(166, 39, 158)
HSLhsl(304, 62%, 40%)
HSVhsv(304, 77%, 65%)
CMYKcmyk(0%, 76.5%, 4.8%, 34.9%)
CIE-LABlab(41.26, 63.05, -36.25)
CIE-LCHlch(41.26, 72.73, 330.10°)
OKLaboklab(52.09% 0.1796 -0.1)
OKLCHoklch(52.09% 0.206 330.9)
XYZxyz(22.6229, 12.0285, 33.4713)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6279E #27A62F
analogous
#6F27A6 #A6279E #A6275E
triadic
#A6279E #9EA627 #279EA6
tetradic
#A6279E #A66F27 #27A62F #275EA6
square
#A6279E #A66F27 #27A62F #275EA6
split-complementary
#A6279E #5EA627 #27A66F
monochromatic
#431040 #741B6F #A6279E #D13AC7 #DC6BD5

Accessibility & contrast

On white

6.17
#A6279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A6279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6279E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6279E#FFFFFF#000000##FFFFFF
##A6279E1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#50679B
Tritanopia (blue-blind)
#AD3861
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6279e;
/* rgb */ color: rgb(166, 39, 158);
/* oklch */ color: oklch(52.1% 0.206 330.9);
Tailwind
colors: {
  custom: {
    50: '#c470bb',
    500: '#a6279e',
    950: '#000000',
  },
}
SCSS
$custom: #a6279e;
$custom-light: #c470bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a6279e",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 303.78,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.20555,
    "h": 330.9
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#A6279E
secondary
#66C36C
accent
#E54D43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6279E

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

Preview Lab → · Contrast checker → · Palette generator →

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