#A641B8#A641B8

#A641B8 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.196 H 321.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A641B8
RGBrgb(166, 65, 184)
HSLhsl(291, 48%, 49%)
HSVhsv(291, 65%, 72%)
CMYKcmyk(9.8%, 64.7%, 0%, 27.8%)
CIE-LABlab(46.11, 57.97, -43.98)
CIE-LCHlch(46.11, 72.76, 322.82°)
OKLaboklab(56.04% 0.153 -0.1226)
OKLCHoklch(56.04% 0.196 321.3)
XYZxyz(26.2669, 15.3496, 46.9173)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641B8 #53B841
analogous
#6B41B8 #A641B8 #B8418F
triadic
#A641B8 #B8A641 #41B8A6
tetradic
#A641B8 #B86B41 #53B841 #418FB8
square
#A641B8 #B86B41 #53B841 #418FB8
split-complementary
#A641B8 #8FB841 #41B86B
monochromatic
#54215E #7D318B #A641B8 #BC6BCB #D199DB

Accessibility & contrast

On white

5.16
#A641B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A641B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641B8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641B8#FFFFFF#000000##FFFFFF
##A641B81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BC
Deuteranopia (green-blind)
#4E71B5
Tritanopia (blue-blind)
#A85577
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a641b8;
/* rgb */ color: rgb(166, 65, 184);
/* oklch */ color: oklch(56.0% 0.196 321.3);
Tailwind
colors: {
  custom: {
    50: '#c47dce',
    500: '#a641b8',
    950: '#000000',
  },
}
SCSS
$custom: #a641b8;
$custom-light: #c47dce;
$custom-dark: #000000;
JSON
{
  "hex": "#a641b8",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 290.924,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5604,
    "c": 0.19609,
    "h": 321.3
  },
  "luminance": 0.15348
}

Semantic roles & 50–950 ramp

primary
#A641B8
secondary
#97C78E
accent
#D75065
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A641B8

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

Preview Lab → · Contrast checker → · Palette generator →

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