#A6279C#A6279C

#A6279C is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.204 H 331.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A6279C
RGBrgb(166, 39, 156)
HSLhsl(305, 62%, 40%)
HSVhsv(305, 77%, 65%)
CMYKcmyk(0%, 76.5%, 6%, 34.9%)
CIE-LABlab(41.15, 62.74, -35.22)
CIE-LCHlch(41.15, 71.95, 330.69°)
OKLaboklab(51.98% 0.1795 -0.097)
OKLCHoklch(51.98% 0.204 331.6)
XYZxyz(22.4522, 11.9602, 32.5721)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6279C #27A631
analogous
#7027A6 #A6279C #A6275D
triadic
#A6279C #9CA627 #279CA6
tetradic
#A6279C #A67027 #27A631 #275DA6
square
#A6279C #A67027 #27A631 #275DA6
split-complementary
#A6279C #5DA627 #27A670
monochromatic
#43103F #741B6D #A6279C #D13AC5 #DC6BD3

Accessibility & contrast

On white

6.19
#A6279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A6279C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6279C
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6279C#FFFFFF#000000##FFFFFF
##A6279C1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C569F
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#AD3760
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6279c;
/* rgb */ color: rgb(166, 39, 156);
/* oklch */ color: oklch(52.0% 0.204 331.6);
Tailwind
colors: {
  custom: {
    50: '#c470b9',
    500: '#a6279c',
    950: '#000000',
  },
}
SCSS
$custom: #a6279c;
$custom-light: #c470b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6279c",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 304.724,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51975,
    "c": 0.20408,
    "h": 331.6
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#A6279C
secondary
#66C36D
accent
#E55043
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6279C

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

Preview Lab → · Contrast checker → · Palette generator →

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