#A631AE#A631AE

#A631AE is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.207 H 325.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A631AE
RGBrgb(166, 49, 174)
HSLhsl(296, 56%, 44%)
HSVhsv(296, 72%, 68%)
CMYKcmyk(4.6%, 71.8%, 0%, 31.8%)
CIE-LABlab(43.30, 62.44, -42.56)
CIE-LCHlch(43.30, 75.56, 325.72°)
OKLaboklab(53.84% 0.1703 -0.1184)
OKLCHoklch(53.84% 0.207 325.2)
XYZxyz(24.4636, 13.3612, 41.3266)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A631AE #39AE31
analogous
#6731AE #A631AE #AE3177
triadic
#A631AE #AEA631 #31AEA6
tetradic
#A631AE #AE6731 #39AE31 #3177AE
square
#A631AE #AE6731 #39AE31 #3177AE
split-complementary
#A631AE #77AE31 #31AE67
monochromatic
#4B164E #78247E #A631AE #C54FCD #D57FDB

Accessibility & contrast

On white

5.72
#A631AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A631AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A631AE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A631AE#FFFFFF#000000##FFFFFF
##A631AE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5DB1
Deuteranopia (green-blind)
#4B6BAB
Tritanopia (blue-blind)
#AA466D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a631ae;
/* rgb */ color: rgb(166, 49, 174);
/* oklch */ color: oklch(53.8% 0.207 325.2);
Tailwind
colors: {
  custom: {
    50: '#c475c7',
    500: '#a631ae',
    950: '#000000',
  },
}
SCSS
$custom: #a631ae;
$custom-light: #c475c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a631ae",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 296.16,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53838,
    "c": 0.2074,
    "h": 325.2
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#A631AE
secondary
#7CC477
accent
#DF4852
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A631AE

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

Preview Lab → · Contrast checker → · Palette generator →

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