#A6309E#A6309E

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

Color values

HEX#A6309E
RGBrgb(166, 48, 158)
HSLhsl(304, 55%, 42%)
HSVhsv(304, 71%, 65%)
CMYKcmyk(0%, 71.1%, 4.8%, 34.9%)
CIE-LABlab(42.29, 60.10, -34.62)
CIE-LCHlch(42.29, 69.36, 330.06°)
OKLaboklab(52.83% 0.1711 -0.0953)
OKLCHoklch(52.83% 0.196 330.9)
XYZxyz(22.9543, 12.6913, 33.5818)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6309E #30A638
analogous
#7330A6 #A6309E #A63063
triadic
#A6309E #9EA630 #309EA6
tetradic
#A6309E #A67330 #30A638 #3063A6
square
#A6309E #A67330 #30A638 #3063A6
split-complementary
#A6309E #63A630 #30A673
monochromatic
#471544 #772271 #A6309E #CA49C2 #D878D2

Accessibility & contrast

On white

5.94
#A6309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A6309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6309E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6309E#FFFFFF#000000##FFFFFF
##A6309E1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A1
Deuteranopia (green-blind)
#536A9B
Tritanopia (blue-blind)
#AD3E64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a6309e;
/* rgb */ color: rgb(166, 48, 158);
/* oklch */ color: oklch(52.8% 0.196 330.9);
Tailwind
colors: {
  custom: {
    50: '#c474bb',
    500: '#a6309e',
    950: '#000000',
  },
}
SCSS
$custom: #a6309e;
$custom-light: #c474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a6309e",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 304.068,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.19586,
    "h": 330.9
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#A6309E
secondary
#71C077
accent
#DE5349
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A6309E

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

Preview Lab → · Contrast checker → · Palette generator →

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