#A6249B#A6249B

#A6249B is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.206 H 332.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A6249B
RGBrgb(166, 36, 155)
HSLhsl(305, 64%, 40%)
HSVhsv(305, 78%, 65%)
CMYKcmyk(0%, 78.3%, 6.6%, 34.9%)
CIE-LABlab(40.80, 63.45, -35.18)
CIE-LCHlch(40.80, 72.55, 330.99°)
OKLaboklab(51.7% 0.1821 -0.0969)
OKLCHoklch(51.7% 0.206 332)
XYZxyz(22.2732, 11.7372, 32.0964)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6249B #24A62F
analogous
#7024A6 #A6249B #A6245A
triadic
#A6249B #9BA624 #249BA6
tetradic
#A6249B #A67024 #24A62F #245AA6
square
#A6249B #A67024 #24A62F #245AA6
split-complementary
#A6249B #5AA624 #24A670
monochromatic
#410E3D #74196C #A6249B #D334C6 #DE66D4

Accessibility & contrast

On white

6.27
#A6249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A6249B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6249B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6249B#FFFFFF#000000##FFFFFF
##A6249B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559E
Deuteranopia (green-blind)
#506698
Tritanopia (blue-blind)
#AD345F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6249b;
/* rgb */ color: rgb(166, 36, 155);
/* oklch */ color: oklch(51.7% 0.206 332.0);
Tailwind
colors: {
  custom: {
    50: '#c46fb9',
    500: '#a6249b',
    950: '#000000',
  },
}
SCSS
$custom: #a6249b;
$custom-light: #c46fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6249b",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 305.077,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.20623,
    "h": 332
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#A6249B
secondary
#62C46A
accent
#E74F40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6249B

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

Preview Lab → · Contrast checker → · Palette generator →

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