#A631C2#A631C2

#A631C2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.224 H 319.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A631C2
RGBrgb(166, 49, 194)
HSLhsl(288, 60%, 48%)
HSVhsv(288, 75%, 76%)
CMYKcmyk(14.4%, 74.7%, 0%, 23.9%)
CIE-LABlab(44.52, 66.04, -52.36)
CIE-LCHlch(44.52, 84.27, 321.59°)
OKLaboklab(55.09% 0.169 -0.147)
OKLCHoklch(55.09% 0.224 319)
XYZxyz(26.5605, 14.1999, 52.3703)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A631C2 #4DC231
analogous
#5E31C2 #A631C2 #C23195
triadic
#A631C2 #C2A631 #31C2A6
tetradic
#A631C2 #C25E31 #4DC231 #3195C2
square
#A631C2 #C25E31 #4DC231 #3195C2
split-complementary
#A631C2 #95C231 #31C25E
monochromatic
#521860 #7C2591 #A631C2 #BE5BD6 #D18CE2

Accessibility & contrast

On white

5.47
#A631C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A631C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A631C2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A631C2#FFFFFF#000000##FFFFFF
##A631C21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#3B6DBF
Tritanopia (blue-blind)
#A64F78
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a631c2;
/* rgb */ color: rgb(166, 49, 194);
/* oklch */ color: oklch(55.1% 0.224 319.0);
Tailwind
colors: {
  custom: {
    50: '#c575d5',
    500: '#a631c2',
    950: '#000000',
  },
}
SCSS
$custom: #a631c2;
$custom-light: #c575d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a631c2",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 288.414,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55094,
    "c": 0.22399,
    "h": 319
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#A631C2
secondary
#91CC83
accent
#E34563
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A631C2

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

Preview Lab → · Contrast checker → · Palette generator →

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