#A6279F#A6279F

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

Color values

HEX#A6279F
RGBrgb(166, 39, 159)
HSLhsl(303, 62%, 40%)
HSVhsv(303, 77%, 65%)
CMYKcmyk(0%, 76.5%, 4.2%, 34.9%)
CIE-LABlab(41.32, 63.21, -36.77)
CIE-LCHlch(41.32, 73.12, 329.81°)
OKLaboklab(52.15% 0.1796 -0.1015)
OKLCHoklch(52.15% 0.206 330.5)
XYZxyz(22.7093, 12.0630, 33.9265)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6279F #27A62E
analogous
#6D27A6 #A6279F #A62760
triadic
#A6279F #9FA627 #279FA6
tetradic
#A6279F #A66D27 #27A62E #2760A6
square
#A6279F #A66D27 #27A62E #2760A6
split-complementary
#A6279F #60A627 #27A66D
monochromatic
#431040 #741B70 #A6279F #D13AC8 #DC6BD6

Accessibility & contrast

On white

6.15
#A6279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6279F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6279F#FFFFFF#000000##FFFFFF
##A6279F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#AD3862
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6279f;
/* rgb */ color: rgb(166, 39, 159);
/* oklch */ color: oklch(52.1% 0.206 330.5);
Tailwind
colors: {
  custom: {
    50: '#c470bc',
    500: '#a6279f',
    950: '#000000',
  },
}
SCSS
$custom: #a6279f;
$custom-light: #c470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a6279f",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 303.307,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.2063,
    "h": 330.5
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#A6279F
secondary
#66C36B
accent
#E54C43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6279F

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

Preview Lab → · Contrast checker → · Palette generator →

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