#A641DC#A641DC

#A641DC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.3% C 0.230 H 311.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A641DC
RGBrgb(166, 65, 220)
HSLhsl(279, 69%, 56%)
HSVhsv(279, 70%, 86%)
CMYKcmyk(24.5%, 70.5%, 0%, 13.7%)
CIE-LABlab(48.33, 65.15, -61.19)
CIE-LCHlch(48.33, 89.38, 316.80°)
OKLaboklab(58.34% 0.1508 -0.173)
OKLCHoklch(58.34% 0.23 311.1)
XYZxyz(30.5320, 17.0556, 69.3800)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641DC #77DC41
analogous
#5841DC #A641DC #DC41C4
triadic
#A641DC #DCA641 #41DCA6
tetradic
#A641DC #DC5841 #77DC41 #41C4DC
square
#A641DC #DC5841 #77DC41 #41C4DC
split-complementary
#A641DC #C4DC41 #41DC58
monochromatic
#621989 #8723BD #A641DC #BE75E6 #D6A8EF

Accessibility & contrast

On white

4.76
#A641DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A641DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641DC#FFFFFF#000000##FFFFFF
##A641DC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#2975D9
Tritanopia (blue-blind)
#9F638A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a641dc;
/* rgb */ color: rgb(166, 65, 220);
/* oklch */ color: oklch(58.3% 0.230 311.1);
Tailwind
colors: {
  custom: {
    50: '#c57ee8',
    500: '#a641dc',
    950: '#000000',
  },
}
SCSS
$custom: #a641dc;
$custom-light: #c57ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a641dc",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 279.097,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.22952,
    "h": 311.1
  },
  "luminance": 0.17055
}

Semantic roles & 50–950 ramp

primary
#A641DC
secondary
#B3DD9C
accent
#EC3C79
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A641DC

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

Preview Lab → · Contrast checker → · Palette generator →

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