#A6479D#A6479D

#A6479D is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.163 H 331.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A6479D
RGBrgb(166, 71, 157)
HSLhsl(306, 40%, 46%)
HSVhsv(306, 57%, 65%)
CMYKcmyk(0%, 57.2%, 5.4%, 34.9%)
CIE-LABlab(45.70, 50.36, -28.67)
CIE-LCHlch(45.70, 57.95, 330.34°)
OKLaboklab(55.29% 0.1434 -0.0784)
OKLCHoklch(55.29% 0.163 331.3)
XYZxyz(24.0648, 15.0494, 33.5291)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6479D #47A650
analogous
#8047A6 #A6479D #A6476E
triadic
#A6479D #9DA647 #479DA6
tetradic
#A6479D #A68047 #47A650 #476EA6
square
#A6479D #A68047 #47A650 #476EA6
split-complementary
#A6479D #6EA647 #47A680
monochromatic
#50224C #7B3574 #A6479D #C06BB8 #D296CC

Accessibility & contrast

On white

5.24
#A6479D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A6479D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6479D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6479D#FFFFFF#000000##FFFFFF
##A6479D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4364A0
Deuteranopia (green-blind)
#60719A
Tritanopia (blue-blind)
#AC4F6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a6479d;
/* rgb */ color: rgb(166, 71, 157);
/* oklch */ color: oklch(55.3% 0.163 331.3);
Tailwind
colors: {
  custom: {
    50: '#c37fba',
    500: '#a6479d',
    950: '#000000',
  },
}
SCSS
$custom: #a6479d;
$custom-light: #c37fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a6479d",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 157
  },
  "hsl": {
    "h": 305.684,
    "s": 40.084,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.16345,
    "h": 331.3
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#A6479D
secondary
#8BBE90
accent
#D06358
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A6479D

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

Preview Lab → · Contrast checker → · Palette generator →

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