#A64BE7#A64BE7

#A64BE7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.2% C 0.228 H 307.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A64BE7
RGBrgb(166, 75, 231)
HSLhsl(275, 76%, 60%)
HSVhsv(275, 68%, 91%)
CMYKcmyk(28.1%, 67.5%, 0%, 9.4%)
CIE-LABlab(50.58, 63.23, -63.79)
CIE-LCHlch(50.58, 89.82, 314.75°)
OKLaboklab(60.18% 0.1393 -0.1807)
OKLCHoklch(60.18% 0.228 307.6)
XYZxyz(32.6628, 18.9091, 77.5149)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64BE7 #8CE74B
analogous
#584BE7 #A64BE7 #E74BDA
triadic
#A64BE7 #E7A64B #4BE7A6
tetradic
#A64BE7 #E7584B #8CE74B #4BDAE7
square
#A64BE7 #E7584B #8CE74B #4BDAE7
split-complementary
#A64BE7 #DAE74B #4BE758
monochromatic
#6816A2 #8A1DD8 #A64BE7 #C181EE #DBB7F5

Accessibility & contrast

On white

4.39
#A64BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A64BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64BE7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64BE7#FFFFFF#000000##000000
##A64BE71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#2579E4
Tritanopia (blue-blind)
#9C6D93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a64be7;
/* rgb */ color: rgb(166, 75, 231);
/* oklch */ color: oklch(60.2% 0.228 307.6);
Tailwind
colors: {
  custom: {
    50: '#c584ef',
    500: '#a64be7',
    950: '#000000',
  },
}
SCSS
$custom: #a64be7;
$custom-light: #c584ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a64be7",
  "rgb": {
    "r": 166,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 275,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.60179,
    "c": 0.2282,
    "h": 307.6
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#A64BE7
secondary
#C2E5A9
accent
#F33584
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A64BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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