#A6509C#A6509C

#A6509C is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.5% C 0.148 H 331.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A6509C
RGBrgb(166, 80, 156)
HSLhsl(307, 35%, 48%)
HSVhsv(307, 52%, 65%)
CMYKcmyk(0%, 51.8%, 6%, 34.9%)
CIE-LABlab(47.30, 45.79, -25.60)
CIE-LCHlch(47.30, 52.46, 330.79°)
OKLaboklab(56.45% 0.1306 -0.0697)
OKLCHoklch(56.45% 0.148 331.9)
XYZxyz(24.5952, 16.2462, 33.2864)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6509C #50A65A
analogous
#8550A6 #A6509C #A65071
triadic
#A6509C #9CA650 #509CA6
tetradic
#A6509C #A68550 #50A65A #5071A6
square
#A6509C #A68550 #50A65A #5071A6
split-complementary
#A6509C #71A650 #50A685
monochromatic
#53284E #7D3C75 #A6509C #BD76B5 #D19FCB

Accessibility & contrast

On white

4.94
#A6509C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A6509C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6509C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6509C#FFFFFF#000000##FFFFFF
##A6509C1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D689F
Deuteranopia (green-blind)
#66759A
Tritanopia (blue-blind)
#AC566F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a6509c;
/* rgb */ color: rgb(166, 80, 156);
/* oklch */ color: oklch(56.5% 0.148 331.9);
Tailwind
colors: {
  custom: {
    50: '#c285b9',
    500: '#a6509c',
    950: '#000000',
  },
}
SCSS
$custom: #a6509c;
$custom-light: #c285b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6509c",
  "rgb": {
    "r": 166,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 306.977,
    "s": 34.959,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56451,
    "c": 0.14805,
    "h": 331.9
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#A6509C
secondary
#94BE99
accent
#CB6A5D
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #A6509C

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

Preview Lab → · Contrast checker → · Palette generator →

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