#A64DFA#A64DFA

#A64DFA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.7% C 0.245 H 303.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A64DFA
RGBrgb(166, 77, 250)
HSLhsl(271, 95%, 64%)
HSVhsv(271, 69%, 98%)
CMYKcmyk(33.6%, 69.2%, 0%, 2%)
CIE-LABlab(52.19, 66.59, -71.82)
CIE-LCHlch(52.19, 97.94, 312.83°)
OKLaboklab(61.74% 0.1348 -0.2044)
OKLCHoklch(61.74% 0.245 303.4)
XYZxyz(35.6311, 20.3169, 92.4684)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DFA #A1FA4D
analogous
#504DFA #A64DFA #FA4DF8
triadic
#A64DFA #FAA64D #4DFAA6
tetradic
#A64DFA #FA504D #A1FA4D #4DF8FA
square
#A64DFA #FA504D #A1FA4D #4DF8FA
split-complementary
#A64DFA #F8FA4D #4DFA50
monochromatic
#6906C7 #8811F8 #A64DFA #C489FC #E2C4FD

Accessibility & contrast

On white

4.15
#A64DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A64DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64DFA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DFA#FFFFFF#000000##000000
##A64DFA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#007CF6
Tritanopia (blue-blind)
#95769E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a64dfa;
/* rgb */ color: rgb(166, 77, 250);
/* oklch */ color: oklch(61.7% 0.245 303.4);
Tailwind
colors: {
  custom: {
    50: '#c685fd',
    500: '#a64dfa',
    950: '#000000',
  },
}
SCSS
$custom: #a64dfa;
$custom-light: #c685fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a64dfa",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 250
  },
  "hsl": {
    "h": 270.867,
    "s": 94.536,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6174,
    "c": 0.24483,
    "h": 303.4
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#A64DFA
secondary
#D1F0B3
accent
#E6006F
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #A64DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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