#A646E4#A646E4

#A646E4 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.4% C 0.231 H 308.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A646E4
RGBrgb(166, 70, 228)
HSLhsl(276, 75%, 58%)
HSVhsv(276, 69%, 89%)
CMYKcmyk(27.2%, 69.3%, 0%, 10.6%)
CIE-LABlab(49.60, 64.76, -63.67)
CIE-LCHlch(49.60, 90.82, 315.48°)
OKLaboklab(59.42% 0.1448 -0.1804)
OKLCHoklch(59.42% 0.231 308.8)
XYZxyz(31.9168, 18.0893, 75.1940)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646E4 #84E446
analogous
#5746E4 #A646E4 #E446D3
triadic
#A646E4 #E4A646 #46E4A6
tetradic
#A646E4 #E45746 #84E446 #46D3E4
square
#A646E4 #E45746 #84E446 #46D3E4
split-complementary
#A646E4 #D3E446 #46E457
monochromatic
#661699 #891ECF #A646E4 #C07BEC #D9B1F4

Accessibility & contrast

On white

4.55
#A646E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A646E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A646E4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646E4#FFFFFF#000000##000000
##A646E41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#2277E1
Tritanopia (blue-blind)
#9D6990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a646e4;
/* rgb */ color: rgb(166, 70, 228);
/* oklch */ color: oklch(59.4% 0.231 308.8);
Tailwind
colors: {
  custom: {
    50: '#c581ed',
    500: '#a646e4',
    950: '#000000',
  },
}
SCSS
$custom: #a646e4;
$custom-light: #c581ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a646e4",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 276.456,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59419,
    "c": 0.23129,
    "h": 308.8
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#A646E4
secondary
#BCE2A4
accent
#F13780
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A646E4

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

Preview Lab → · Contrast checker → · Palette generator →

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