#A641B2#A641B2

#A641B2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.191 H 323.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A641B2
RGBrgb(166, 65, 178)
HSLhsl(294, 47%, 48%)
HSVhsv(294, 63%, 70%)
CMYKcmyk(6.7%, 63.5%, 0%, 30.2%)
CIE-LABlab(45.78, 56.84, -40.99)
CIE-LCHlch(45.78, 70.08, 324.21°)
OKLaboklab(55.69% 0.1529 -0.1139)
OKLCHoklch(55.69% 0.191 323.3)
XYZxyz(25.6513, 15.1034, 43.6750)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641B2 #4DB241
analogous
#6D41B2 #A641B2 #B24186
triadic
#A641B2 #B2A641 #41B2A6
tetradic
#A641B2 #B26D41 #4DB241 #4186B2
square
#A641B2 #B26D41 #4DB241 #4186B2
split-complementary
#A641B2 #86B241 #41B26D
monochromatic
#522058 #7C3185 #A641B2 #BE68C8 #D195D8

Accessibility & contrast

On white

5.22
#A641B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A641B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641B2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641B2#FFFFFF#000000##FFFFFF
##A641B21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#5270AF
Tritanopia (blue-blind)
#A95274
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a641b2;
/* rgb */ color: rgb(166, 65, 178);
/* oklch */ color: oklch(55.7% 0.191 323.3);
Tailwind
colors: {
  custom: {
    50: '#c37dc9',
    500: '#a641b2',
    950: '#000000',
  },
}
SCSS
$custom: #a641b2;
$custom-light: #c37dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a641b2",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 293.628,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.19069,
    "h": 323.3
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#A641B2
secondary
#91C48B
accent
#D65260
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A641B2

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

Preview Lab → · Contrast checker → · Palette generator →

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