#A64DDF#A64DDF

#A64DDF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.218 H 309.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A64DDF
RGBrgb(166, 77, 223)
HSLhsl(277, 70%, 59%)
HSVhsv(277, 65%, 87%)
CMYKcmyk(25.6%, 65.5%, 0%, 12.5%)
CIE-LABlab(50.39, 60.59, -59.58)
CIE-LCHlch(50.39, 84.98, 315.48°)
OKLaboklab(59.87% 0.1379 -0.1684)
OKLCHoklch(59.87% 0.218 309.3)
XYZxyz(31.6964, 18.7430, 71.7457)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DDF #86DF4D
analogous
#5D4DDF #A64DDF #DF4DCF
triadic
#A64DDF #DFA64D #4DDFA6
tetradic
#A64DDF #DF5D4D #86DF4D #4DCFDF
square
#A64DDF #DF5D4D #86DF4D #4DCFDF
split-complementary
#A64DDF #CFDF4D #4DDF5D
monochromatic
#661B97 #8A24CA #A64DDF #C081E8 #DAB5F2

Accessibility & contrast

On white

4.42
#A64DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A64DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64DDF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DDF#FFFFFF#000000##000000
##A64DDF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#9E6B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a64ddf;
/* rgb */ color: rgb(166, 77, 223);
/* oklch */ color: oklch(59.9% 0.218 309.3);
Tailwind
colors: {
  custom: {
    50: '#c585ea',
    500: '#a64ddf',
    950: '#000000',
  },
}
SCSS
$custom: #a64ddf;
$custom-light: #c585ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ddf",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 276.575,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59874,
    "c": 0.21766,
    "h": 309.3
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#A64DDF
secondary
#BEE1A7
accent
#EC3B81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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