#A631C6#A631C6

#A631C6 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.227 H 317.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A631C6
RGBrgb(166, 49, 198)
HSLhsl(287, 60%, 48%)
HSVhsv(287, 75%, 78%)
CMYKcmyk(16.2%, 75.3%, 0%, 22.4%)
CIE-LABlab(44.78, 66.78, -54.27)
CIE-LCHlch(44.78, 86.05, 320.90°)
OKLaboklab(55.36% 0.1685 -0.1526)
OKLCHoklch(55.36% 0.227 317.8)
XYZxyz(27.0158, 14.3821, 54.7681)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A631C6 #51C631
analogous
#5B31C6 #A631C6 #C6319B
triadic
#A631C6 #C6A631 #31C6A6
tetradic
#A631C6 #C65B31 #51C631 #319BC6
square
#A631C6 #C65B31 #51C631 #319BC6
split-complementary
#A631C6 #9BC631 #31C65B
monochromatic
#541964 #7D2595 #A631C6 #BD5DD7 #D18EE3

Accessibility & contrast

On white

5.42
#A631C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A631C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A631C6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A631C6#FFFFFF#000000##FFFFFF
##A631C61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#376DC3
Tritanopia (blue-blind)
#A5517A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a631c6;
/* rgb */ color: rgb(166, 49, 198);
/* oklch */ color: oklch(55.4% 0.227 317.8);
Tailwind
colors: {
  custom: {
    50: '#c576d8',
    500: '#a631c6',
    950: '#000000',
  },
}
SCSS
$custom: #a631c6;
$custom-light: #c576d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a631c6",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 287.114,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55358,
    "c": 0.22737,
    "h": 317.8
  },
  "luminance": 0.14381
}

Semantic roles & 50–950 ramp

primary
#A631C6
secondary
#95CE85
accent
#E34467
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A631C6

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

Preview Lab → · Contrast checker → · Palette generator →

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