#A61FA7#A61FA7

#A61FA7 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.219 H 327.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A61FA7
RGBrgb(166, 31, 167)
HSLhsl(300, 69%, 39%)
HSVhsv(300, 81%, 65%)
CMYKcmyk(0.6%, 81.4%, 0%, 34.5%)
CIE-LABlab(41.02, 66.65, -42.03)
CIE-LCHlch(41.02, 78.79, 327.76°)
OKLaboklab(52.08% 0.1856 -0.1167)
OKLCHoklch(52.08% 0.219 327.8)
XYZxyz(23.1906, 11.8787, 37.6231)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A61FA7 #20A71F
analogous
#621FA7 #A61FA7 #A71F64
triadic
#A61FA7 #A7A61F #1FA7A6
tetradic
#A61FA7 #A7621F #20A71F #1F64A7
square
#A61FA7 #A7621F #20A71F #1F64A7
split-complementary
#A61FA7 #64A71F #1FA762
monochromatic
#3F0C40 #731573 #A61FA7 #D62BD8 #E05FE1

Accessibility & contrast

On white

6.22
#A61FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A61FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A61FA7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A61FA7#FFFFFF#000000##FFFFFF
##A61FA71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4767A4
Tritanopia (blue-blind)
#AB3864
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a61fa7;
/* rgb */ color: rgb(166, 31, 167);
/* oklch */ color: oklch(52.1% 0.219 327.8);
Tailwind
colors: {
  custom: {
    50: '#c56dc2',
    500: '#a61fa7',
    950: '#000000',
  },
}
SCSS
$custom: #a61fa7;
$custom-light: #c56dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a61fa7",
  "rgb": {
    "r": 166,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 299.559,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52083,
    "c": 0.21926,
    "h": 327.8
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#A61FA7
secondary
#5DC65C
accent
#EC3C3E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A61FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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