#B642AE#B642AE

#B642AE is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.8% C 0.195 H 330.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B642AE
RGBrgb(182, 66, 174)
HSLhsl(304, 47%, 49%)
HSVhsv(304, 64%, 71%)
CMYKcmyk(0%, 63.7%, 4.4%, 28.6%)
CIE-LABlab(48.13, 59.70, -34.76)
CIE-LCHlch(48.13, 69.08, 329.79°)
OKLaboklab(57.82% 0.1695 -0.0955)
OKLCHoklch(57.82% 0.195 330.6)
XYZxyz(28.8795, 16.8996, 41.7771)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642AE #42B64A
analogous
#8442B6 #B642AE #B64274
triadic
#B642AE #AEB642 #42AEB6
tetradic
#B642AE #B68442 #42B64A #4274B6
square
#B642AE #B68442 #42B64A #4274B6
split-complementary
#B642AE #74B642 #42B684
monochromatic
#5C2158 #893283 #B642AE #CA6CC3 #DA99D5

Accessibility & contrast

On white

4.79
#B642AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B642AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B642AE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642AE#FFFFFF#000000##FFFFFF
##B642AE1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#BD4E72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b642ae;
/* rgb */ color: rgb(182, 66, 174);
/* oklch */ color: oklch(57.8% 0.195 330.6);
Tailwind
colors: {
  custom: {
    50: '#cf7fc6',
    500: '#b642ae',
    950: '#000000',
  },
}
SCSS
$custom: #b642ae;
$custom-light: #cf7fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#b642ae",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 304.138,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.19457,
    "h": 330.6
  },
  "luminance": 0.16898
}

Semantic roles & 50–950 ramp

primary
#B642AE
secondary
#8EC692
accent
#D65B51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B642AE

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

Preview Lab → · Contrast checker → · Palette generator →

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