#B641AC#B641AC

#B641AC is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.194 H 331.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B641AC
RGBrgb(182, 65, 172)
HSLhsl(305, 47%, 48%)
HSVhsv(305, 64%, 71%)
CMYKcmyk(0%, 64.3%, 5.5%, 28.6%)
CIE-LABlab(47.89, 59.78, -33.96)
CIE-LCHlch(47.89, 68.76, 330.40°)
OKLaboklab(57.61% 0.1705 -0.0932)
OKLCHoklch(57.61% 0.194 331.3)
XYZxyz(28.6280, 16.7064, 40.7386)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B641AC #41B64B
analogous
#8541B6 #B641AC #B64171
triadic
#B641AC #ACB641 #41ACB6
tetradic
#B641AC #B68541 #41B64B #4171B6
square
#B641AC #B68541 #41B64B #4171B6
split-complementary
#B641AC #71B641 #41B685
monochromatic
#5C2157 #893181 #B641AC #CA6AC2 #DA97D4

Accessibility & contrast

On white

4.84
#B641AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B641AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B641AC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B641AC#FFFFFF#000000##FFFFFF
##B641AC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#BD4D71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b641ac;
/* rgb */ color: rgb(182, 65, 172);
/* oklch */ color: oklch(57.6% 0.194 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf7ec5',
    500: '#b641ac',
    950: '#000000',
  },
}
SCSS
$custom: #b641ac;
$custom-light: #cf7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#b641ac",
  "rgb": {
    "r": 182,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 305.128,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.19433,
    "h": 331.3
  },
  "luminance": 0.16704
}

Semantic roles & 50–950 ramp

primary
#B641AC
secondary
#8DC692
accent
#D75C51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B641AC

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

Preview Lab → · Contrast checker → · Palette generator →

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