#A646F6#A646F6

#A646F6 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.7% C 0.249 H 304.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A646F6
RGBrgb(166, 70, 246)
HSLhsl(273, 91%, 62%)
HSVhsv(273, 72%, 96%)
CMYKcmyk(32.5%, 71.5%, 0%, 3.5%)
CIE-LABlab(50.85, 68.67, -71.77)
CIE-LCHlch(50.85, 99.33, 313.74°)
OKLaboklab(60.7% 0.1421 -0.2042)
OKLCHoklch(60.7% 0.249 304.8)
XYZxyz(34.5468, 19.1413, 89.0456)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646F6 #96F646
analogous
#4E46F6 #A646F6 #F646EE
triadic
#A646F6 #F6A646 #46F6A6
tetradic
#A646F6 #F64E46 #96F646 #46EEF6
square
#A646F6 #F64E46 #96F646 #46EEF6
split-complementary
#A646F6 #EEF646 #46F64E
monochromatic
#6909B9 #8A0CF3 #A646F6 #C280F9 #DEBBFC

Accessibility & contrast

On white

4.35
#A646F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A646F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A646F6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646F6#FFFFFF#000000##000000
##A646F61.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#97709A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a646f6;
/* rgb */ color: rgb(166, 70, 246);
/* oklch */ color: oklch(60.7% 0.249 304.8);
Tailwind
colors: {
  custom: {
    50: '#c682fa',
    500: '#a646f6',
    950: '#000000',
  },
}
SCSS
$custom: #a646f6;
$custom-light: #c682fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a646f6",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 246
  },
  "hsl": {
    "h": 272.727,
    "s": 90.722,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.24873,
    "h": 304.8
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#A646F6
secondary
#C9ECAB
accent
#E60068
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A646F6

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

Preview Lab → · Contrast checker → · Palette generator →

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