#A631CA#A631CA

#A631CA is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.231 H 316.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A631CA
RGBrgb(166, 49, 202)
HSLhsl(286, 61%, 49%)
HSVhsv(286, 76%, 79%)
CMYKcmyk(17.8%, 75.7%, 0%, 20.8%)
CIE-LABlab(45.04, 67.54, -56.17)
CIE-LCHlch(45.04, 87.84, 320.25°)
OKLaboklab(55.63% 0.168 -0.1582)
OKLCHoklch(55.63% 0.231 316.7)
XYZxyz(27.4833, 14.5690, 57.2301)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A631CA #55CA31
analogous
#5931CA #A631CA #CA31A2
triadic
#A631CA #CAA631 #31CAA6
tetradic
#A631CA #CA5931 #55CA31 #31A2CA
square
#A631CA #CA5931 #55CA31 #31A2CA
split-complementary
#A631CA #A2CA31 #31CA59
monochromatic
#551967 #7E2599 #A631CA #BC60D8 #D191E4

Accessibility & contrast

On white

5.37
#A631CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A631CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A631CA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A631CA#FFFFFF#000000##FFFFFF
##A631CA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#326EC7
Tritanopia (blue-blind)
#A4537C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a631ca;
/* rgb */ color: rgb(166, 49, 202);
/* oklch */ color: oklch(55.6% 0.231 316.7);
Tailwind
colors: {
  custom: {
    50: '#c576db',
    500: '#a631ca',
    950: '#000000',
  },
}
SCSS
$custom: #a631ca;
$custom-light: #c576db;
$custom-dark: #000000;
JSON
{
  "hex": "#a631ca",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 285.882,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55627,
    "c": 0.23077,
    "h": 316.7
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#A631CA
secondary
#99CF88
accent
#E44469
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A631CA

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

Preview Lab → · Contrast checker → · Palette generator →

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