#B642AB#B642AB

#B642AB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.7% C 0.192 H 331.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B642AB
RGBrgb(182, 66, 171)
HSLhsl(306, 47%, 49%)
HSVhsv(306, 64%, 71%)
CMYKcmyk(0%, 63.7%, 6%, 28.6%)
CIE-LABlab(47.99, 59.21, -33.22)
CIE-LCHlch(47.99, 67.89, 330.70°)
OKLaboklab(57.66% 0.1692 -0.0911)
OKLCHoklch(57.66% 0.192 331.7)
XYZxyz(28.5903, 16.7839, 40.2540)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642AB #42B64D
analogous
#8742B6 #B642AB #B64271
triadic
#B642AB #ABB642 #42ABB6
tetradic
#B642AB #B68742 #42B64D #4271B6
square
#B642AB #B68742 #42B64D #4271B6
split-complementary
#B642AB #71B642 #42B687
monochromatic
#5C2157 #893281 #B642AB #CA6CC1 #DA99D4

Accessibility & contrast

On white

4.82
#B642AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B642AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B642AB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642AB#FFFFFF#000000##FFFFFF
##B642AB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AE
Deuteranopia (green-blind)
#6378A8
Tritanopia (blue-blind)
#BD4D71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b642ab;
/* rgb */ color: rgb(182, 66, 171);
/* oklch */ color: oklch(57.7% 0.192 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf7ec4',
    500: '#b642ab',
    950: '#000000',
  },
}
SCSS
$custom: #b642ab;
$custom-light: #cf7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#b642ab",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 305.69,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.19219,
    "h": 331.7
  },
  "luminance": 0.16782
}

Semantic roles & 50–950 ramp

primary
#B642AB
secondary
#8EC693
accent
#D65E51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B642AB

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

Preview Lab → · Contrast checker → · Palette generator →

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