#B642BB#B642BB

#B642BB is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.205 H 326.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B642BB
RGBrgb(182, 66, 187)
HSLhsl(298, 48%, 50%)
HSVhsv(298, 65%, 73%)
CMYKcmyk(2.7%, 64.7%, 0%, 26.7%)
CIE-LABlab(48.80, 61.91, -41.31)
CIE-LCHlch(48.80, 74.43, 326.29°)
OKLaboklab(58.51% 0.1704 -0.1145)
OKLCHoklch(58.51% 0.205 326.1)
XYZxyz(30.2087, 17.4313, 48.7775)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642BB #47BB42
analogous
#7A42BB #B642BB #BB4283
triadic
#B642BB #BBB642 #42BBB6
tetradic
#B642BB #BB7A42 #47BB42 #4283BB
square
#B642BB #BB7A42 #47BB42 #4283BB
split-complementary
#B642BB #83BB42 #42BB7A
monochromatic
#5E2261 #8A328E #B642BB #C86ECC #D99CDC

Accessibility & contrast

On white

4.68
#B642BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B642BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B642BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642BB#FFFFFF#000000##FFFFFF
##B642BB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#BB5379
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b642bb;
/* rgb */ color: rgb(182, 66, 187);
/* oklch */ color: oklch(58.5% 0.205 326.1);
Tailwind
colors: {
  custom: {
    50: '#cf7fd0',
    500: '#b642bb',
    950: '#000000',
  },
}
SCSS
$custom: #b642bb;
$custom-light: #cf7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b642bb",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 297.521,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58514,
    "c": 0.20523,
    "h": 326.1
  },
  "luminance": 0.17429
}

Semantic roles & 50–950 ramp

primary
#B642BB
secondary
#93C891
accent
#D75056
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B642BB

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

Preview Lab → · Contrast checker → · Palette generator →

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