#A641DB#A641DB

#A641DB is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.3% C 0.229 H 311.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A641DB
RGBrgb(166, 65, 219)
HSLhsl(279, 68%, 56%)
HSVhsv(279, 70%, 86%)
CMYKcmyk(24.2%, 70.3%, 0%, 14.1%)
CIE-LABlab(48.26, 64.94, -60.73)
CIE-LCHlch(48.26, 88.91, 316.92°)
OKLaboklab(58.27% 0.1509 -0.1717)
OKLCHoklch(58.27% 0.229 311.3)
XYZxyz(30.4000, 17.0028, 68.6845)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641DB #76DB41
analogous
#5941DB #A641DB #DB41C3
triadic
#A641DB #DBA641 #41DBA6
tetradic
#A641DB #DB5941 #76DB41 #41C3DB
square
#A641DB #DB5941 #76DB41 #41C3DB
split-complementary
#A641DB #C3DB41 #41DB59
monochromatic
#621A88 #8723BB #A641DB #BE74E5 #D6A8EE

Accessibility & contrast

On white

4.77
#A641DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A641DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641DB#FFFFFF#000000##FFFFFF
##A641DB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#2B74D8
Tritanopia (blue-blind)
#9F638A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a641db;
/* rgb */ color: rgb(166, 65, 219);
/* oklch */ color: oklch(58.3% 0.229 311.3);
Tailwind
colors: {
  custom: {
    50: '#c57ee7',
    500: '#a641db',
    950: '#000000',
  },
}
SCSS
$custom: #a641db;
$custom-light: #c57ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#a641db",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 279.351,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.22858,
    "h": 311.3
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#A641DB
secondary
#B2DC9C
accent
#EB3D79
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A641DB

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

Preview Lab → · Contrast checker → · Palette generator →

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