#A64AE7#A64AE7

#A64AE7 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.1% C 0.229 H 307.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A64AE7
RGBrgb(166, 74, 231)
HSLhsl(275, 77%, 60%)
HSVhsv(275, 68%, 91%)
CMYKcmyk(28.1%, 68%, 0%, 9.4%)
CIE-LABlab(50.42, 63.68, -64.04)
CIE-LCHlch(50.42, 90.31, 314.84°)
OKLaboklab(60.07% 0.1404 -0.1815)
OKLCHoklch(60.07% 0.229 307.7)
XYZxyz(32.5955, 18.7745, 77.4925)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64AE7 #8BE74A
analogous
#584AE7 #A64AE7 #E74ADA
triadic
#A64AE7 #E7A64A #4AE7A6
tetradic
#A64AE7 #E7584A #8BE74A #4ADAE7
square
#A64AE7 #E7584A #8BE74A #4ADAE7
split-complementary
#A64AE7 #DAE74A #4AE758
monochromatic
#6715A1 #8A1DD7 #A64AE7 #C180EE #DBB6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A64AE7#FFFFFF#000000##000000
##A64AE71.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)
#0075EC
Deuteranopia (green-blind)
#2379E4
Tritanopia (blue-blind)
#9C6D93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a64ae7;
/* rgb */ color: rgb(166, 74, 231);
/* oklch */ color: oklch(60.1% 0.229 307.7);
Tailwind
colors: {
  custom: {
    50: '#c583ef',
    500: '#a64ae7',
    950: '#000000',
  },
}
SCSS
$custom: #a64ae7;
$custom-light: #c583ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ae7",
  "rgb": {
    "r": 166,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 275.159,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.22943,
    "h": 307.7
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#A64AE7
secondary
#C1E5A8
accent
#F33584
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A64AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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