#A61FA8#A61FA8

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

Color values

HEX#A61FA8
RGBrgb(166, 31, 168)
HSLhsl(299, 69%, 39%)
HSVhsv(299, 82%, 66%)
CMYKcmyk(1.2%, 81.5%, 0%, 34.1%)
CIE-LABlab(41.08, 66.81, -42.53)
CIE-LCHlch(41.08, 79.20, 327.52°)
OKLaboklab(52.14% 0.1856 -0.1182)
OKLCHoklch(52.14% 0.22 327.5)
XYZxyz(23.2834, 11.9159, 38.1119)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A61FA8 #21A81F
analogous
#621FA8 #A61FA8 #A81F66
triadic
#A61FA8 #A8A61F #1FA8A6
tetradic
#A61FA8 #A8621F #21A81F #1F66A8
square
#A61FA8 #A8621F #21A81F #1F66A8
split-complementary
#A61FA8 #66A81F #1FA862
monochromatic
#400C41 #731574 #A61FA8 #D62CD8 #E060E2

Accessibility & contrast

On white

6.21
#A61FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A61FA8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A61FA8#FFFFFF#000000##FFFFFF
##A61FA81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#AB3965
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a61fa8;
/* rgb */ color: rgb(166, 31, 168);
/* oklch */ color: oklch(52.1% 0.220 327.5);
Tailwind
colors: {
  custom: {
    50: '#c56ec2',
    500: '#a61fa8',
    950: '#000000',
  },
}
SCSS
$custom: #a61fa8;
$custom-light: #c56ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a61fa8",
  "rgb": {
    "r": 166,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 299.124,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.21999,
    "h": 327.5
  },
  "luminance": 0.11914
}

Semantic roles & 50–950 ramp

primary
#A61FA8
secondary
#5EC65D
accent
#EC3C3F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A61FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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