#A64CDB#A64CDB

#A64CDB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.215 H 310.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A64CDB
RGBrgb(166, 76, 219)
HSLhsl(278, 67%, 58%)
HSVhsv(278, 65%, 86%)
CMYKcmyk(24.2%, 65.3%, 0%, 14.1%)
CIE-LABlab(49.97, 60.18, -57.98)
CIE-LCHlch(49.97, 83.57, 316.07°)
OKLaboklab(59.49% 0.1393 -0.1637)
OKLCHoklch(59.49% 0.215 310.4)
XYZxyz(31.0941, 18.3910, 68.9159)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CDB #81DB4C
analogous
#5E4CDB #A64CDB #DB4CC9
triadic
#A64CDB #DBA64C #4CDBA6
tetradic
#A64CDB #DB5E4C #81DB4C #4CC9DB
square
#A64CDB #DB5E4C #81DB4C #4CC9DB
split-complementary
#A64CDB #C9DB4C #4CDB5E
monochromatic
#651D90 #8927C3 #A64CDB #BF7FE5 #D9B2EF

Accessibility & contrast

On white

4.49
#A64CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A64CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64CDB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CDB#FFFFFF#000000##000000
##A64CDB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#9F698D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a64cdb;
/* rgb */ color: rgb(166, 76, 219);
/* oklch */ color: oklch(59.5% 0.215 310.4);
Tailwind
colors: {
  custom: {
    50: '#c484e7',
    500: '#a64cdb',
    950: '#000000',
  },
}
SCSS
$custom: #a64cdb;
$custom-light: #c484e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cdb",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 277.762,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.21495,
    "h": 310.4
  },
  "luminance": 0.1839
}

Semantic roles & 50–950 ramp

primary
#A64CDB
secondary
#BADEA5
accent
#E93E7E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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