#A6309D#A6309D

#A6309D is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.195 H 331.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A6309D
RGBrgb(166, 48, 157)
HSLhsl(305, 55%, 42%)
HSVhsv(305, 71%, 65%)
CMYKcmyk(0%, 71.1%, 5.4%, 34.9%)
CIE-LABlab(42.24, 59.94, -34.10)
CIE-LCHlch(42.24, 68.96, 330.36°)
OKLaboklab(52.77% 0.171 -0.0938)
OKLCHoklch(52.77% 0.195 331.2)
XYZxyz(22.8686, 12.6570, 33.1303)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6309D #30A639
analogous
#7430A6 #A6309D #A63062
triadic
#A6309D #9DA630 #309DA6
tetradic
#A6309D #A67430 #30A639 #3062A6
square
#A6309D #A67430 #30A639 #3062A6
split-complementary
#A6309D #62A630 #30A674
monochromatic
#471543 #772270 #A6309D #CA49C0 #D878D1

Accessibility & contrast

On white

5.95
#A6309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A6309D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6309D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6309D#FFFFFF#000000##FFFFFF
##A6309D1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2759A0
Deuteranopia (green-blind)
#54699A
Tritanopia (blue-blind)
#AD3D63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6309d;
/* rgb */ color: rgb(166, 48, 157);
/* oklch */ color: oklch(52.8% 0.195 331.2);
Tailwind
colors: {
  custom: {
    50: '#c473ba',
    500: '#a6309d',
    950: '#000000',
  },
}
SCSS
$custom: #a6309d;
$custom-light: #c473ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a6309d",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 304.576,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.1951,
    "h": 331.2
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

primary
#A6309D
secondary
#71C078
accent
#DE5549
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A6309D

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

Preview Lab → · Contrast checker → · Palette generator →

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