#A64DEA#A64DEA

#A64DEA is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.6% C 0.229 H 306.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A64DEA
RGBrgb(166, 77, 234)
HSLhsl(274, 79%, 61%)
HSVhsv(274, 67%, 92%)
CMYKcmyk(29.1%, 67.1%, 0%, 8.2%)
CIE-LABlab(51.10, 63.00, -64.64)
CIE-LCHlch(51.10, 90.26, 314.27°)
OKLaboklab(60.61% 0.1369 -0.1832)
OKLCHoklch(60.61% 0.229 306.8)
XYZxyz(33.2279, 19.3556, 79.8115)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DEA #91EA4D
analogous
#574DEA #A64DEA #EA4DDF
triadic
#A64DEA #EAA64D #4DEAA6
tetradic
#A64DEA #EA574D #91EA4D #4DDFEA
square
#A64DEA #EA574D #91EA4D #4DDFEA
split-complementary
#A64DEA #DFEA4D #4DEA57
monochromatic
#6814A9 #8A1ADF #A64DEA #C184F0 #DDBAF7

Accessibility & contrast

On white

4.31
#A64DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A64DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64DEA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DEA#FFFFFF#000000##000000
##A64DEA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#227AE7
Tritanopia (blue-blind)
#9B7096
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a64dea;
/* rgb */ color: rgb(166, 77, 234);
/* oklch */ color: oklch(60.6% 0.229 306.8);
Tailwind
colors: {
  custom: {
    50: '#c585f2',
    500: '#a64dea',
    950: '#000000',
  },
}
SCSS
$custom: #a64dea;
$custom-light: #c585f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a64dea",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 274.013,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60615,
    "c": 0.22873,
    "h": 306.8
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

primary
#A64DEA
secondary
#C5E7AC
accent
#DB0A65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A64DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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