#A6279D#A6279D

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

Color values

HEX#A6279D
RGBrgb(166, 39, 157)
HSLhsl(304, 62%, 40%)
HSVhsv(304, 77%, 65%)
CMYKcmyk(0%, 76.5%, 5.4%, 34.9%)
CIE-LABlab(41.21, 62.89, -35.74)
CIE-LCHlch(41.21, 72.34, 330.39°)
OKLaboklab(52.03% 0.1796 -0.0985)
OKLCHoklch(52.03% 0.205 331.3)
XYZxyz(22.5372, 11.9942, 33.0199)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6279D #27A630
analogous
#6F27A6 #A6279D #A6275D
triadic
#A6279D #9DA627 #279DA6
tetradic
#A6279D #A66F27 #27A630 #275DA6
square
#A6279D #A66F27 #27A630 #275DA6
split-complementary
#A6279D #5DA627 #27A66F
monochromatic
#43103F #741B6E #A6279D #D13AC6 #DC6BD4

Accessibility & contrast

On white

6.18
#A6279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A6279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6279D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6279D#FFFFFF#000000##FFFFFF
##A6279D1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#AD3761
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6279d;
/* rgb */ color: rgb(166, 39, 157);
/* oklch */ color: oklch(52.0% 0.205 331.3);
Tailwind
colors: {
  custom: {
    50: '#c470ba',
    500: '#a6279d',
    950: '#000000',
  },
}
SCSS
$custom: #a6279d;
$custom-light: #c470ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a6279d",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 304.252,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52032,
    "c": 0.20482,
    "h": 331.3
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#A6279D
secondary
#66C36D
accent
#E54E43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6279D

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

Preview Lab → · Contrast checker → · Palette generator →

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