#A6309B#A6309B

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

Color values

HEX#A6309B
RGBrgb(166, 48, 155)
HSLhsl(306, 55%, 42%)
HSVhsv(306, 71%, 65%)
CMYKcmyk(0%, 71.1%, 6.6%, 34.9%)
CIE-LABlab(42.14, 59.62, -33.06)
CIE-LCHlch(42.14, 68.17, 330.99°)
OKLaboklab(52.67% 0.1709 -0.0908)
OKLCHoklch(52.67% 0.194 332)
XYZxyz(22.6993, 12.5893, 32.2384)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6309B #30A63B
analogous
#7630A6 #A6309B #A63060
triadic
#A6309B #9BA630 #309BA6
tetradic
#A6309B #A67630 #30A63B #3060A6
square
#A6309B #A67630 #30A63B #3060A6
split-complementary
#A6309B #60A630 #30A676
monochromatic
#471542 #77226F #A6309B #CA49BE #D878CF

Accessibility & contrast

On white

5.97
#A6309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6309B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6309B#FFFFFF#000000##FFFFFF
##A6309B1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#556998
Tritanopia (blue-blind)
#AD3D62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a6309b;
/* rgb */ color: rgb(166, 48, 155);
/* oklch */ color: oklch(52.7% 0.194 332.0);
Tailwind
colors: {
  custom: {
    50: '#c473b9',
    500: '#a6309b',
    950: '#000000',
  },
}
SCSS
$custom: #a6309b;
$custom-light: #c473b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6309b",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 305.593,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.19356,
    "h": 332
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#A6309B
secondary
#71C079
accent
#DE5749
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A6309B

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

Preview Lab → · Contrast checker → · Palette generator →

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