#A631CF#A631CF

#A631CF is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.0% C 0.235 H 315.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A631CF
RGBrgb(166, 49, 207)
HSLhsl(284, 62%, 50%)
HSVhsv(284, 76%, 81%)
CMYKcmyk(19.8%, 76.3%, 0%, 18.8%)
CIE-LABlab(45.37, 68.49, -58.52)
CIE-LCHlch(45.37, 90.08, 319.49°)
OKLaboklab(55.97% 0.1673 -0.1651)
OKLCHoklch(55.97% 0.235 315.4)
XYZxyz(28.0849, 14.8097, 60.3985)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A631CF #5ACF31
analogous
#5731CF #A631CF #CF31A9
triadic
#A631CF #CFA631 #31CFA6
tetradic
#A631CF #CF5731 #5ACF31 #31A9CF
square
#A631CF #CF5731 #5ACF31 #31A9CF
split-complementary
#A631CF #A9CF31 #31CF57
monochromatic
#57196C #7F259E #A631CF #BB63DB #D194E6

Accessibility & contrast

On white

5.30
#A631CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A631CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A631CF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A631CF#FFFFFF#000000##FFFFFF
##A631CF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#2B6ECC
Tritanopia (blue-blind)
#A3557F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a631cf;
/* rgb */ color: rgb(166, 49, 207);
/* oklch */ color: oklch(56.0% 0.235 315.4);
Tailwind
colors: {
  custom: {
    50: '#c576de',
    500: '#a631cf',
    950: '#000000',
  },
}
SCSS
$custom: #a631cf;
$custom-light: #c576de;
$custom-dark: #000000;
JSON
{
  "hex": "#a631cf",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 284.43,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55969,
    "c": 0.23503,
    "h": 315.4
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#A631CF
secondary
#9DD18B
accent
#E5436D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A631CF

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

Preview Lab → · Contrast checker → · Palette generator →

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