#A641FF#A641FF

#A641FF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.9% C 0.263 H 303.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A641FF
RGBrgb(166, 65, 255)
HSLhsl(272, 100%, 63%)
HSVhsv(272, 75%, 100%)
CMYKcmyk(34.9%, 74.5%, 0%, 0%)
CIE-LABlab(50.81, 72.64, -76.85)
CIE-LCHlch(50.81, 105.75, 313.39°)
OKLaboklab(60.88% 0.1447 -0.2191)
OKLCHoklch(60.88% 0.263 303.4)
XYZxyz(35.6620, 19.1076, 96.3977)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641FF #9AFF41
analogous
#4741FF #A641FF #FF41F9
triadic
#A641FF #FFA641 #41FFA6
tetradic
#A641FF #FF4741 #9AFF41 #41F9FF
square
#A641FF #FF4741 #9AFF41 #41F9FF
split-complementary
#A641FF #F9FF41 #41FF47
monochromatic
#6900C6 #8904FF #A641FF #C37EFF #DFBBFF

Accessibility & contrast

On white

4.36
#A641FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A641FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A641FF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641FF#FFFFFF#000000##000000
##A641FF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#94729E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a641ff;
/* rgb */ color: rgb(166, 65, 255);
/* oklch */ color: oklch(60.9% 0.263 303.4);
Tailwind
colors: {
  custom: {
    50: '#c77fff',
    500: '#a641ff',
    950: '#000000',
  },
}
SCSS
$custom: #a641ff;
$custom-light: #c77fff;
$custom-dark: #000000;
JSON
{
  "hex": "#a641ff",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 255
  },
  "hsl": {
    "h": 271.895,
    "s": 100,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.26253,
    "h": 303.4
  },
  "luminance": 0.19108
}

Semantic roles & 50–950 ramp

primary
#A641FF
secondary
#CCF0AC
accent
#E6006C
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A641FF

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

Preview Lab → · Contrast checker → · Palette generator →

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