#A6289E#A6289E

#A6289E is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.205 H 330.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A6289E
RGBrgb(166, 40, 158)
HSLhsl(304, 61%, 40%)
HSVhsv(304, 76%, 65%)
CMYKcmyk(0%, 75.9%, 4.8%, 34.9%)
CIE-LABlab(41.37, 62.75, -36.09)
CIE-LCHlch(41.37, 72.38, 330.10°)
OKLaboklab(52.16% 0.1787 -0.0995)
OKLCHoklch(52.16% 0.205 330.9)
XYZxyz(22.6562, 12.0950, 33.4824)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6289E #28A630
analogous
#6F28A6 #A6289E #A6285F
triadic
#A6289E #9EA628 #289EA6
tetradic
#A6289E #A66F28 #28A630 #285FA6
square
#A6289E #A66F28 #28A630 #285FA6
split-complementary
#A6289E #5FA628 #28A66F
monochromatic
#431040 #751C6F #A6289E #D03BC6 #DC6DD5

Accessibility & contrast

On white

6.14
#A6289E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A6289E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6289E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6289E#FFFFFF#000000##FFFFFF
##A6289E1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A1
Deuteranopia (green-blind)
#50689B
Tritanopia (blue-blind)
#AD3961
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a6289e;
/* rgb */ color: rgb(166, 40, 158);
/* oklch */ color: oklch(52.2% 0.205 330.9);
Tailwind
colors: {
  custom: {
    50: '#c470bb',
    500: '#a6289e',
    950: '#000000',
  },
}
SCSS
$custom: #a6289e;
$custom-light: #c470bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a6289e",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 303.81,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.20456,
    "h": 330.9
  },
  "luminance": 0.12093
}

Semantic roles & 50–950 ramp

primary
#A6289E
secondary
#67C26D
accent
#E44E44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6289E

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

Preview Lab → · Contrast checker → · Palette generator →

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