#A64FEA#A64FEA

#A64FEA is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.8% C 0.226 H 306.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A64FEA
RGBrgb(166, 79, 234)
HSLhsl(274, 79%, 61%)
HSVhsv(274, 66%, 92%)
CMYKcmyk(29.1%, 66.2%, 0%, 8.2%)
CIE-LABlab(51.43, 62.09, -64.11)
CIE-LCHlch(51.43, 89.25, 314.08°)
OKLaboklab(60.85% 0.1348 -0.1817)
OKLCHoklch(60.85% 0.226 306.6)
XYZxyz(33.3700, 19.6398, 79.8589)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FEA #93EA4F
analogous
#594FEA #A64FEA #EA4FE1
triadic
#A64FEA #EAA64F #4FEAA6
tetradic
#A64FEA #EA594F #93EA4F #4FE1EA
square
#A64FEA #EA594F #93EA4F #4FE1EA
split-complementary
#A64FEA #E1EA4F #4FEA59
monochromatic
#6814AA #8A1BE1 #A64FEA #C286F1 #DDBCF7

Accessibility & contrast

On white

4.26
#A64FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A64FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FEA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FEA#FFFFFF#000000##000000
##A64FEA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#267BE7
Tritanopia (blue-blind)
#9B7196
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a64fea;
/* rgb */ color: rgb(166, 79, 234);
/* oklch */ color: oklch(60.8% 0.226 306.6);
Tailwind
colors: {
  custom: {
    50: '#c586f2',
    500: '#a64fea',
    950: '#000000',
  },
}
SCSS
$custom: #a64fea;
$custom-light: #c586f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fea",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 273.677,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60849,
    "c": 0.22624,
    "h": 306.6
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#A64FEA
secondary
#C7E7AD
accent
#DB0B66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A64FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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