#A6309C#A6309C

#A6309C is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.194 H 331.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A6309C
RGBrgb(166, 48, 156)
HSLhsl(305, 55%, 42%)
HSVhsv(305, 71%, 65%)
CMYKcmyk(0%, 71.1%, 6%, 34.9%)
CIE-LABlab(42.19, 59.78, -33.58)
CIE-LCHlch(42.19, 68.57, 330.67°)
OKLaboklab(52.72% 0.171 -0.0923)
OKLCHoklch(52.72% 0.194 331.6)
XYZxyz(22.7836, 12.6230, 32.6826)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6309C #30A63A
analogous
#7530A6 #A6309C #A63061
triadic
#A6309C #9CA630 #309CA6
tetradic
#A6309C #A67530 #30A63A #3061A6
square
#A6309C #A67530 #30A63A #3061A6
split-complementary
#A6309C #61A630 #30A675
monochromatic
#471543 #77226F #A6309C #CA49BF #D878D0

Accessibility & contrast

On white

5.96
#A6309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A6309C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6309C
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6309C#FFFFFF#000000##FFFFFF
##A6309C1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599F
Deuteranopia (green-blind)
#546999
Tritanopia (blue-blind)
#AD3D62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6309c;
/* rgb */ color: rgb(166, 48, 156);
/* oklch */ color: oklch(52.7% 0.194 331.6);
Tailwind
colors: {
  custom: {
    50: '#c473b9',
    500: '#a6309c',
    950: '#000000',
  },
}
SCSS
$custom: #a6309c;
$custom-light: #c473b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6309c",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 305.085,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5272,
    "c": 0.19433,
    "h": 331.6
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6309C

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

Preview Lab → · Contrast checker → · Palette generator →

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