#B642AC#B642AC

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

Color values

HEX#B642AC
RGBrgb(182, 66, 172)
HSLhsl(305, 47%, 49%)
HSVhsv(305, 64%, 71%)
CMYKcmyk(0%, 63.7%, 5.5%, 28.6%)
CIE-LABlab(48.04, 59.37, -33.73)
CIE-LCHlch(48.04, 68.29, 330.40°)
OKLaboklab(57.71% 0.1693 -0.0926)
OKLCHoklch(57.71% 0.193 331.3)
XYZxyz(28.6859, 16.8222, 40.7579)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642AC #42B64C
analogous
#8642B6 #B642AC #B64272
triadic
#B642AC #ACB642 #42ACB6
tetradic
#B642AC #B68642 #42B64C #4272B6
square
#B642AC #B68642 #42B64C #4272B6
split-complementary
#B642AC #72B642 #42B686
monochromatic
#5C2157 #893282 #B642AC #CA6CC1 #DA99D4

Accessibility & contrast

On white

4.81
#B642AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B642AC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642AC#FFFFFF#000000##FFFFFF
##B642AC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b642ac;
/* rgb */ color: rgb(182, 66, 172);
/* oklch */ color: oklch(57.7% 0.193 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf7fc5',
    500: '#b642ac',
    950: '#000000',
  },
}
SCSS
$custom: #b642ac;
$custom-light: #cf7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b642ac",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 305.172,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.19298,
    "h": 331.3
  },
  "luminance": 0.1682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B642AC

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

Preview Lab → · Contrast checker → · Palette generator →

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