#A64DEB#A64DEB

#A64DEB is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.7% C 0.230 H 306.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A64DEB
RGBrgb(166, 77, 235)
HSLhsl(274, 80%, 61%)
HSVhsv(274, 67%, 92%)
CMYKcmyk(29.4%, 67.2%, 0%, 7.8%)
CIE-LABlab(51.17, 63.22, -65.09)
CIE-LCHlch(51.17, 90.74, 314.17°)
OKLaboklab(60.68% 0.1368 -0.1846)
OKLCHoklch(60.68% 0.23 306.5)
XYZxyz(33.3719, 19.4133, 80.5702)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DEB #92EB4D
analogous
#574DEB #A64DEB #EB4DE1
triadic
#A64DEB #EBA64D #4DEBA6
tetradic
#A64DEB #EB574D #92EB4D #4DE1EB
square
#A64DEB #EB574D #92EB4D #4DE1EB
split-complementary
#A64DEB #E1EB4D #4DEB57
monochromatic
#6813AA #8A19E1 #A64DEB #C284F1 #DDBBF7

Accessibility & contrast

On white

4.30
#A64DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A64DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64DEB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DEB#FFFFFF#000000##000000
##A64DEB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#207AE8
Tritanopia (blue-blind)
#9A7096
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a64deb;
/* rgb */ color: rgb(166, 77, 235);
/* oklch */ color: oklch(60.7% 0.230 306.5);
Tailwind
colors: {
  custom: {
    50: '#c585f2',
    500: '#a64deb',
    950: '#000000',
  },
}
SCSS
$custom: #a64deb;
$custom-light: #c585f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a64deb",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 273.797,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60683,
    "c": 0.22974,
    "h": 306.5
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#A64DEB
secondary
#C6E8AC
accent
#DC0965
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A64DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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