#A6289F#A6289F

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

Color values

HEX#A6289F
RGBrgb(166, 40, 159)
HSLhsl(303, 61%, 40%)
HSVhsv(303, 76%, 65%)
CMYKcmyk(0%, 75.9%, 4.2%, 34.9%)
CIE-LABlab(41.42, 62.91, -36.60)
CIE-LCHlch(41.42, 72.78, 329.81°)
OKLaboklab(52.22% 0.1787 -0.101)
OKLCHoklch(52.22% 0.205 330.5)
XYZxyz(22.7426, 12.1296, 33.9376)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6289F #28A62F
analogous
#6E28A6 #A6289F #A62860
triadic
#A6289F #9FA628 #289FA6
tetradic
#A6289F #A66E28 #28A62F #2860A6
square
#A6289F #A66E28 #28A62F #2860A6
split-complementary
#A6289F #60A628 #28A66E
monochromatic
#431041 #751C70 #A6289F #D03BC8 #DC6DD6

Accessibility & contrast

On white

6.13
#A6289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A6289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6289F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6289F#FFFFFF#000000##FFFFFF
##A6289F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1857A2
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#AC3962
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a6289f;
/* rgb */ color: rgb(166, 40, 159);
/* oklch */ color: oklch(52.2% 0.205 330.5);
Tailwind
colors: {
  custom: {
    50: '#c470bc',
    500: '#a6289f',
    950: '#000000',
  },
}
SCSS
$custom: #a6289f;
$custom-light: #c470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a6289f",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 303.333,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5222,
    "c": 0.20531,
    "h": 330.5
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6289F

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

Preview Lab → · Contrast checker → · Palette generator →

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