#A6289D#A6289D

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

Color values

HEX#A6289D
RGBrgb(166, 40, 157)
HSLhsl(304, 61%, 40%)
HSVhsv(304, 76%, 65%)
CMYKcmyk(0%, 75.9%, 5.4%, 34.9%)
CIE-LABlab(41.31, 62.59, -35.57)
CIE-LCHlch(41.31, 71.99, 330.39°)
OKLaboklab(52.11% 0.1787 -0.098)
OKLCHoklch(52.11% 0.204 331.3)
XYZxyz(22.5705, 12.0607, 33.0310)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6289D #28A631
analogous
#7028A6 #A6289D #A6285E
triadic
#A6289D #9DA628 #289DA6
tetradic
#A6289D #A67028 #28A631 #285EA6
square
#A6289D #A67028 #28A631 #285EA6
split-complementary
#A6289D #5EA628 #28A670
monochromatic
#431040 #751C6E #A6289D #D03BC5 #DC6DD4

Accessibility & contrast

On white

6.16
#A6289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6289D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6289D#FFFFFF#000000##FFFFFF
##A6289D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C56A0
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#AD3861
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6289d;
/* rgb */ color: rgb(166, 40, 157);
/* oklch */ color: oklch(52.1% 0.204 331.3);
Tailwind
colors: {
  custom: {
    50: '#c470ba',
    500: '#a6289d',
    950: '#000000',
  },
}
SCSS
$custom: #a6289d;
$custom-light: #c470ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a6289d",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 304.286,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.20382,
    "h": 331.3
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

primary
#A6289D
secondary
#67C26E
accent
#E44F44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6289D

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

Preview Lab → · Contrast checker → · Palette generator →

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