#B642B7#B642B7

#B642B7 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.3% C 0.202 H 327.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B642B7
RGBrgb(182, 66, 183)
HSLhsl(299, 47%, 49%)
HSVhsv(299, 64%, 72%)
CMYKcmyk(0.5%, 63.9%, 0%, 28.2%)
CIE-LABlab(48.59, 61.22, -39.31)
CIE-LCHlch(48.59, 72.76, 327.30°)
OKLaboklab(58.29% 0.1702 -0.1087)
OKLCHoklch(58.29% 0.202 327.4)
XYZxyz(29.7864, 17.2624, 46.5537)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642B7 #43B742
analogous
#7C42B7 #B642B7 #B7427E
triadic
#B642B7 #B7B642 #42B7B6
tetradic
#B642B7 #B77C42 #43B742 #427EB7
square
#B642B7 #B77C42 #43B742 #427EB7
split-complementary
#B642B7 #7EB742 #42B77C
monochromatic
#5D225D #89328A #B642B7 #C96CCA #DA99DA

Accessibility & contrast

On white

4.72
#B642B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B642B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B642B7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642B7#FFFFFF#000000##FFFFFF
##B642B71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABA
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#BB5277
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b642b7;
/* rgb */ color: rgb(182, 66, 183);
/* oklch */ color: oklch(58.3% 0.202 327.4);
Tailwind
colors: {
  custom: {
    50: '#cf7fcd',
    500: '#b642b7',
    950: '#000000',
  },
}
SCSS
$custom: #b642b7;
$custom-light: #cf7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#b642b7",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 299.487,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.20189,
    "h": 327.4
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#B642B7
secondary
#8FC68F
accent
#D75152
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B642B7

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

Preview Lab → · Contrast checker → · Palette generator →

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