#A646FF#A646FF

#A646FF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.4% C 0.257 H 303.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A646FF
RGBrgb(166, 70, 255)
HSLhsl(271, 100%, 64%)
HSVhsv(271, 73%, 100%)
CMYKcmyk(34.9%, 72.5%, 0%, 0%)
CIE-LABlab(51.50, 70.67, -75.72)
CIE-LCHlch(51.50, 103.57, 313.02°)
OKLaboklab(61.36% 0.1404 -0.2158)
OKLCHoklch(61.36% 0.257 303.1)
XYZxyz(35.9618, 19.7073, 96.4977)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646FF #9FFF46
analogous
#4946FF #A646FF #FF46FC
triadic
#A646FF #FFA646 #46FFA6
tetradic
#A646FF #FF4946 #9FFF46 #46FCFF
square
#A646FF #FF4946 #9FFF46 #46FCFF
split-complementary
#A646FF #FCFF46 #46FF49
monochromatic
#6900CB #8909FF #A646FF #C383FF #E1C0FF

Accessibility & contrast

On white

4.25
#A646FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A646FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A646FF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646FF#FFFFFF#000000##000000
##A646FF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#007AFB
Tritanopia (blue-blind)
#94749F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a646ff;
/* rgb */ color: rgb(166, 70, 255);
/* oklch */ color: oklch(61.4% 0.257 303.1);
Tailwind
colors: {
  custom: {
    50: '#c782ff',
    500: '#a646ff',
    950: '#000000',
  },
}
SCSS
$custom: #a646ff;
$custom-light: #c782ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a646ff",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 255
  },
  "hsl": {
    "h": 271.135,
    "s": 100,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.25745,
    "h": 303.1
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#A646FF
secondary
#CFF1B0
accent
#E6006E
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A646FF

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

Preview Lab → · Contrast checker → · Palette generator →

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