#A641E8#A641E8

#A641E8 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.2% C 0.241 H 308.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A641E8
RGBrgb(166, 65, 232)
HSLhsl(276, 78%, 58%)
HSVhsv(276, 72%, 91%)
CMYKcmyk(28.4%, 72%, 0%, 9%)
CIE-LABlab(49.15, 67.67, -66.67)
CIE-LCHlch(49.15, 95.00, 315.43°)
OKLaboklab(59.18% 0.1491 -0.1892)
OKLCHoklch(59.18% 0.241 308.2)
XYZxyz(32.1787, 17.7143, 78.0523)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641E8 #83E841
analogous
#5241E8 #A641E8 #E841D7
triadic
#A641E8 #E8A641 #41E8A6
tetradic
#A641E8 #E85241 #83E841 #41D7E8
square
#A641E8 #E85241 #83E841 #41D7E8
split-complementary
#A641E8 #D7E841 #41E852
monochromatic
#66139C #8919D2 #A641E8 #C078EF #D9AEF5

Accessibility & contrast

On white

4.62
#A641E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A641E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A641E8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641E8#FFFFFF#000000##FFFFFF
##A641E81.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0576E4
Tritanopia (blue-blind)
#9C6891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a641e8;
/* rgb */ color: rgb(166, 65, 232);
/* oklch */ color: oklch(59.2% 0.241 308.2);
Tailwind
colors: {
  custom: {
    50: '#c67ef0',
    500: '#a641e8',
    950: '#000000',
  },
}
SCSS
$custom: #a641e8;
$custom-light: #c67ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#a641e8",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 232
  },
  "hsl": {
    "h": 276.287,
    "s": 78.404,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.24083,
    "h": 308.2
  },
  "luminance": 0.17714
}

Semantic roles & 50–950 ramp

primary
#A641E8
secondary
#BBE4A1
accent
#F53380
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A641E8

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

Preview Lab → · Contrast checker → · Palette generator →

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