#A641BA#A641BA

#A641BA is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.198 H 320.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A641BA
RGBrgb(166, 65, 186)
HSLhsl(290, 48%, 49%)
HSVhsv(290, 65%, 73%)
CMYKcmyk(10.8%, 65.1%, 0%, 27.1%)
CIE-LABlab(46.22, 58.35, -44.96)
CIE-LCHlch(46.22, 73.66, 322.38°)
OKLaboklab(56.16% 0.153 -0.1255)
OKLCHoklch(56.16% 0.198 320.6)
XYZxyz(26.4781, 15.4341, 48.0292)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641BA #55BA41
analogous
#6A41BA #A641BA #BA4192
triadic
#A641BA #BAA641 #41BAA6
tetradic
#A641BA #BA6A41 #55BA41 #4192BA
square
#A641BA #BA6A41 #55BA41 #4192BA
split-complementary
#A641BA #92BA41 #41BA6A
monochromatic
#55215F #7E318D #A641BA #BC6CCC #D19ADC

Accessibility & contrast

On white

5.14
#A641BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A641BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641BA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641BA#FFFFFF#000000##FFFFFF
##A641BA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BE
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#A75578
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a641ba;
/* rgb */ color: rgb(166, 65, 186);
/* oklch */ color: oklch(56.2% 0.198 320.6);
Tailwind
colors: {
  custom: {
    50: '#c47dcf',
    500: '#a641ba',
    950: '#000000',
  },
}
SCSS
$custom: #a641ba;
$custom-light: #c47dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a641ba",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 290.083,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.19792,
    "h": 320.6
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#A641BA
secondary
#99C88F
accent
#D85066
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A641BA

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

Preview Lab → · Contrast checker → · Palette generator →

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