#A631AF#A631AF

#A631AF is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.208 H 324.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A631AF
RGBrgb(166, 49, 175)
HSLhsl(296, 56%, 44%)
HSVhsv(296, 72%, 69%)
CMYKcmyk(5.1%, 72%, 0%, 31.4%)
CIE-LABlab(43.36, 62.61, -43.06)
CIE-LCHlch(43.36, 75.99, 325.48°)
OKLaboklab(53.9% 0.1703 -0.1198)
OKLCHoklch(53.9% 0.208 324.9)
XYZxyz(24.5615, 13.4003, 41.8420)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A631AF #3AAF31
analogous
#6731AF #A631AF #AF3179
triadic
#A631AF #AFA631 #31AFA6
tetradic
#A631AF #AF6731 #3AAF31 #3179AF
square
#A631AF #AF6731 #3AAF31 #3179AF
split-complementary
#A631AF #79AF31 #31AF67
monochromatic
#4B164F #79247F #A631AF #C54FCE #D57FDB

Accessibility & contrast

On white

5.71
#A631AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A631AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A631AF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A631AF#FFFFFF#000000##FFFFFF
##A631AF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085DB3
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#AA466D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a631af;
/* rgb */ color: rgb(166, 49, 175);
/* oklch */ color: oklch(53.9% 0.208 324.9);
Tailwind
colors: {
  custom: {
    50: '#c475c7',
    500: '#a631af',
    950: '#000000',
  },
}
SCSS
$custom: #a631af;
$custom-light: #c475c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a631af",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 295.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.20821,
    "h": 324.9
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#A631AF
secondary
#7DC478
accent
#E04853
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A631AF

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

Preview Lab → · Contrast checker → · Palette generator →

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