#A646E5#A646E5

#A646E5 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.5% C 0.232 H 308.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A646E5
RGBrgb(166, 70, 229)
HSLhsl(276, 75%, 59%)
HSVhsv(276, 69%, 90%)
CMYKcmyk(27.5%, 69.4%, 0%, 10.2%)
CIE-LABlab(49.67, 64.97, -64.13)
CIE-LCHlch(49.67, 91.29, 315.37°)
OKLaboklab(59.49% 0.1447 -0.1817)
OKLCHoklch(59.49% 0.232 308.5)
XYZxyz(32.0560, 18.1450, 75.9272)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646E5 #85E546
analogous
#5646E5 #A646E5 #E546D5
triadic
#A646E5 #E5A646 #46E5A6
tetradic
#A646E5 #E55646 #85E546 #46D5E5
square
#A646E5 #E55646 #85E546 #46D5E5
split-complementary
#A646E5 #D5E546 #46E556
monochromatic
#66169B #891DD0 #A646E5 #C07CED #DAB1F4

Accessibility & contrast

On white

4.54
#A646E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A646E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A646E5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646E5#FFFFFF#000000##000000
##A646E51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#2077E2
Tritanopia (blue-blind)
#9C6A91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a646e5;
/* rgb */ color: rgb(166, 70, 229);
/* oklch */ color: oklch(59.5% 0.232 308.5);
Tailwind
colors: {
  custom: {
    50: '#c581ee',
    500: '#a646e5',
    950: '#000000',
  },
}
SCSS
$custom: #a646e5;
$custom-light: #c581ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a646e5",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 276.226,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.23226,
    "h": 308.5
  },
  "luminance": 0.18144
}

Semantic roles & 50–950 ramp

primary
#A646E5
secondary
#BDE3A4
accent
#F23680
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A646E5

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

Preview Lab → · Contrast checker → · Palette generator →

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