#A641E2#A641E2

#A641E2 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.8% C 0.235 H 309.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A641E2
RGBrgb(166, 65, 226)
HSLhsl(278, 74%, 57%)
HSVhsv(278, 71%, 89%)
CMYKcmyk(26.5%, 71.2%, 0%, 11.4%)
CIE-LABlab(48.73, 66.40, -63.94)
CIE-LCHlch(48.73, 92.19, 316.08°)
OKLaboklab(58.76% 0.15 -0.1811)
OKLCHoklch(58.76% 0.235 309.6)
XYZxyz(31.3409, 17.3792, 73.6403)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641E2 #7DE241
analogous
#5641E2 #A641E2 #E241CD
triadic
#A641E2 #E2A641 #41E2A6
tetradic
#A641E2 #E25641 #7DE241 #41CDE2
square
#A641E2 #E25641 #7DE241 #41CDE2
split-complementary
#A641E2 #CDE241 #41E256
monochromatic
#641692 #881EC7 #A641E2 #BF76EA #D8ABF2

Accessibility & contrast

On white

4.69
#A641E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A641E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641E2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641E2#FFFFFF#000000##FFFFFF
##A641E21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#1D75DF
Tritanopia (blue-blind)
#9D668E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a641e2;
/* rgb */ color: rgb(166, 65, 226);
/* oklch */ color: oklch(58.8% 0.235 309.6);
Tailwind
colors: {
  custom: {
    50: '#c57eec',
    500: '#a641e2',
    950: '#000000',
  },
}
SCSS
$custom: #a641e2;
$custom-light: #c57eec;
$custom-dark: #000000;
JSON
{
  "hex": "#a641e2",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 277.64,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58757,
    "c": 0.23517,
    "h": 309.6
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#A641E2
secondary
#B7E09F
accent
#F0387C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A641E2

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

Preview Lab → · Contrast checker → · Palette generator →

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