#A640C1#A640C1

#A640C1 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.206 H 318.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A640C1
RGBrgb(166, 64, 193)
HSLhsl(287, 51%, 50%)
HSVhsv(287, 67%, 76%)
CMYKcmyk(14%, 66.8%, 0%, 24.3%)
CIE-LABlab(46.48, 60.12, -48.63)
CIE-LCHlch(46.48, 77.33, 321.03°)
OKLaboklab(56.47% 0.154 -0.1362)
OKLCHoklch(56.47% 0.206 318.5)
XYZxyz(27.1836, 15.6252, 52.0258)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A640C1 #5BC140
analogous
#6540C1 #A640C1 #C1409B
triadic
#A640C1 #C1A640 #40C1A6
tetradic
#A640C1 #C16540 #5BC140 #409BC1
square
#A640C1 #C16540 #5BC140 #409BC1
split-complementary
#A640C1 #9BC140 #40C165
monochromatic
#572166 #7F3094 #A640C1 #BC6ED0 #D19CDF

Accessibility & contrast

On white

5.09
#A640C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A640C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A640C1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A640C1#FFFFFF#000000##FFFFFF
##A640C11.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0967C5
Deuteranopia (green-blind)
#4771BE
Tritanopia (blue-blind)
#A6587B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a640c1;
/* rgb */ color: rgb(166, 64, 193);
/* oklch */ color: oklch(56.5% 0.206 318.5);
Tailwind
colors: {
  custom: {
    50: '#c47dd4',
    500: '#a640c1',
    950: '#000000',
  },
}
SCSS
$custom: #a640c1;
$custom-light: #c47dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a640c1",
  "rgb": {
    "r": 166,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 287.442,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.20563,
    "h": 318.5
  },
  "luminance": 0.15624
}

Semantic roles & 50–950 ramp

primary
#A640C1
secondary
#9ECB92
accent
#DA4D6B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A640C1

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

Preview Lab → · Contrast checker → · Palette generator →

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