#A646E3#A646E3

#A646E3 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.4% C 0.230 H 309.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A646E3
RGBrgb(166, 70, 227)
HSLhsl(277, 74%, 58%)
HSVhsv(277, 69%, 89%)
CMYKcmyk(26.9%, 69.2%, 0%, 11%)
CIE-LABlab(49.54, 64.54, -63.21)
CIE-LCHlch(49.54, 90.34, 315.60°)
OKLaboklab(59.35% 0.1449 -0.179)
OKLCHoklch(59.35% 0.23 309)
XYZxyz(31.7784, 18.0339, 74.4650)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646E3 #83E346
analogous
#5746E3 #A646E3 #E346D1
triadic
#A646E3 #E3A646 #46E3A6
tetradic
#A646E3 #E35746 #83E346 #46D1E3
square
#A646E3 #E35746 #83E346 #46D1E3
split-complementary
#A646E3 #D1E346 #46E357
monochromatic
#661798 #891FCD #A646E3 #C07BEB #D9B0F3

Accessibility & contrast

On white

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

On black

4.61
#A646E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A646E3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646E3#FFFFFF#000000##000000
##A646E31.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#2477E0
Tritanopia (blue-blind)
#9D6990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a646e3;
/* rgb */ color: rgb(166, 70, 227);
/* oklch */ color: oklch(59.4% 0.230 309.0);
Tailwind
colors: {
  custom: {
    50: '#c581ed',
    500: '#a646e3',
    950: '#000000',
  },
}
SCSS
$custom: #a646e3;
$custom-light: #c581ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a646e3",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 227
  },
  "hsl": {
    "h": 276.688,
    "s": 73.709,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5935,
    "c": 0.23033,
    "h": 309
  },
  "luminance": 0.18033
}

Semantic roles & 50–950 ramp

primary
#A646E3
secondary
#BBE2A3
accent
#F0377F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A646E3

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

Preview Lab → · Contrast checker → · Palette generator →

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