#B642BC#B642BC

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

Color values

HEX#B642BC
RGBrgb(182, 66, 188)
HSLhsl(297, 48%, 50%)
HSVhsv(297, 65%, 74%)
CMYKcmyk(3.2%, 64.9%, 0%, 26.3%)
CIE-LABlab(48.85, 62.09, -41.81)
CIE-LCHlch(48.85, 74.85, 326.05°)
OKLaboklab(58.57% 0.1704 -0.1159)
OKLCHoklch(58.57% 0.206 325.8)
XYZxyz(30.3161, 17.4742, 49.3433)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642BC #48BC42
analogous
#7942BC #B642BC #BC4285
triadic
#B642BC #BCB642 #42BCB6
tetradic
#B642BC #BC7942 #48BC42 #4285BC
square
#B642BC #BC7942 #48BC42 #4285BC
split-complementary
#B642BC #85BC42 #42BC79
monochromatic
#5E2261 #8A328F #B642BC #C86FCC #D99CDC

Accessibility & contrast

On white

4.67
#B642BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B642BC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642BC#FFFFFF#000000##FFFFFF
##B642BC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BC0
Deuteranopia (green-blind)
#5B79B9
Tritanopia (blue-blind)
#BA5479
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b642bc;
/* rgb */ color: rgb(182, 66, 188);
/* oklch */ color: oklch(58.6% 0.206 325.8);
Tailwind
colors: {
  custom: {
    50: '#cf7fd0',
    500: '#b642bc',
    950: '#000000',
  },
}
SCSS
$custom: #b642bc;
$custom-light: #cf7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b642bc",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 297.049,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58569,
    "c": 0.20607,
    "h": 325.8
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#B642BC
secondary
#94C991
accent
#D85057
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B642BC

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

Preview Lab → · Contrast checker → · Palette generator →

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