#A64FDB#A64FDB

#A64FDB is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.211 H 310.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A64FDB
RGBrgb(166, 79, 219)
HSLhsl(277, 66%, 58%)
HSVhsv(277, 64%, 86%)
CMYKcmyk(24.2%, 63.9%, 0%, 14.1%)
CIE-LABlab(50.47, 58.80, -57.18)
CIE-LCHlch(50.47, 82.01, 315.80°)
OKLaboklab(59.85% 0.1359 -0.1613)
OKLCHoklch(59.85% 0.211 310.1)
XYZxyz(31.3056, 18.8141, 68.9864)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FDB #84DB4F
analogous
#604FDB #A64FDB #DB4FCA
triadic
#A64FDB #DBA64F #4FDBA6
tetradic
#A64FDB #DB604F #84DB4F #4FCADB
square
#A64FDB #DB604F #84DB4F #4FCADB
split-complementary
#A64FDB #CADB4F #4FDB60
monochromatic
#661E92 #8928C5 #A64FDB #C082E5 #D9B5F0

Accessibility & contrast

On white

4.41
#A64FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A64FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FDB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FDB#FFFFFF#000000##000000
##A64FDB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#3C7AD8
Tritanopia (blue-blind)
#9F6B8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a64fdb;
/* rgb */ color: rgb(166, 79, 219);
/* oklch */ color: oklch(59.9% 0.211 310.1);
Tailwind
colors: {
  custom: {
    50: '#c486e7',
    500: '#a64fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a64fdb;
$custom-light: #c486e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fdb",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 277.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59854,
    "c": 0.21097,
    "h": 310.1
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#A64FDB
secondary
#BCDFA7
accent
#E93F7F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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