#B642BD#B642BD

#B642BD is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.6% C 0.207 H 325.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B642BD
RGBrgb(182, 66, 189)
HSLhsl(297, 48%, 50%)
HSVhsv(297, 65%, 74%)
CMYKcmyk(3.7%, 65.1%, 0%, 25.9%)
CIE-LABlab(48.91, 62.26, -42.30)
CIE-LCHlch(48.91, 75.28, 325.81°)
OKLaboklab(58.63% 0.1704 -0.1173)
OKLCHoklch(58.63% 0.207 325.4)
XYZxyz(30.4243, 17.5175, 49.9130)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642BD #49BD42
analogous
#7842BD #B642BD #BD4287
triadic
#B642BD #BDB642 #42BDB6
tetradic
#B642BD #BD7842 #49BD42 #4287BD
square
#B642BD #BD7842 #49BD42 #4287BD
split-complementary
#B642BD #87BD42 #42BD78
monochromatic
#5F2262 #8A3290 #B642BD #C86FCD #D99DDD

Accessibility & contrast

On white

4.66
#B642BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B642BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B642BD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642BD#FFFFFF#000000##FFFFFF
##B642BD1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC1
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#BA547A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b642bd;
/* rgb */ color: rgb(182, 66, 189);
/* oklch */ color: oklch(58.6% 0.207 325.4);
Tailwind
colors: {
  custom: {
    50: '#cf7fd1',
    500: '#b642bd',
    950: '#000000',
  },
}
SCSS
$custom: #b642bd;
$custom-light: #cf7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b642bd",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 296.585,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.20691,
    "h": 325.4
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#B642BD
secondary
#95C992
accent
#D85058
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B642BD

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

Preview Lab → · Contrast checker → · Palette generator →

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