#A64FCB#A64FCB

#A64FCB is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.195 H 314.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A64FCB
RGBrgb(166, 79, 203)
HSLhsl(282, 54%, 55%)
HSVhsv(282, 61%, 80%)
CMYKcmyk(18.2%, 61.1%, 0%, 20.4%)
CIE-LABlab(49.51, 55.39, -49.57)
CIE-LCHlch(49.51, 74.33, 318.17°)
OKLaboklab(58.85% 0.1364 -0.139)
OKLCHoklch(58.85% 0.195 314.4)
XYZxyz(29.2996, 18.0117, 58.4215)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FCB #74CB4F
analogous
#684FCB #A64FCB #CB4FB2
triadic
#A64FCB #CBA64F #4FCBA6
tetradic
#A64FCB #CB684F #74CB4F #4FB2CB
square
#A64FCB #CB684F #74CB4F #4FB2CB
split-complementary
#A64FCB #B2CB4F #4FCB68
monochromatic
#61247B #8732AA #A64FCB #BE7ED9 #D6ADE7

Accessibility & contrast

On white

4.56
#A64FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A64FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FCB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FCB#FFFFFF#000000##000000
##A64FCB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#A36586
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a64fcb;
/* rgb */ color: rgb(166, 79, 203);
/* oklch */ color: oklch(58.9% 0.195 314.4);
Tailwind
colors: {
  custom: {
    50: '#c485db',
    500: '#a64fcb',
    950: '#000000',
  },
}
SCSS
$custom: #a64fcb;
$custom-light: #c485db;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fcb",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 282.097,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.19475,
    "h": 314.4
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#A64FCB
secondary
#B0D5A1
accent
#DE4A76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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