#A646E7#A646E7

#A646E7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.234 H 308.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A646E7
RGBrgb(166, 70, 231)
HSLhsl(276, 77%, 59%)
HSVhsv(276, 70%, 91%)
CMYKcmyk(28.1%, 69.7%, 0%, 9.4%)
CIE-LABlab(49.81, 65.40, -65.04)
CIE-LCHlch(49.81, 92.24, 315.16°)
OKLaboklab(59.63% 0.1444 -0.1844)
OKLCHoklch(59.63% 0.234 308.1)
XYZxyz(32.3369, 18.2573, 77.4063)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646E7 #87E746
analogous
#5646E7 #A646E7 #E746D8
triadic
#A646E7 #E7A646 #46E7A6
tetradic
#A646E7 #E75646 #87E746 #46D8E7
square
#A646E7 #E75646 #87E746 #46D8E7
split-complementary
#A646E7 #D8E746 #46E756
monochromatic
#67159E #8A1CD4 #A646E7 #C07CEE #DAB2F5

Accessibility & contrast

On white

4.51
#A646E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A646E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A646E7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646E7#FFFFFF#000000##000000
##A646E71.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#1A77E4
Tritanopia (blue-blind)
#9C6A92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a646e7;
/* rgb */ color: rgb(166, 70, 231);
/* oklch */ color: oklch(59.6% 0.234 308.1);
Tailwind
colors: {
  custom: {
    50: '#c581ef',
    500: '#a646e7',
    950: '#000000',
  },
}
SCSS
$custom: #a646e7;
$custom-light: #c581ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a646e7",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 275.776,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.2342,
    "h": 308.1
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#A646E7
secondary
#BEE4A5
accent
#F43481
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A646E7

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

Preview Lab → · Contrast checker → · Palette generator →

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