#B642C1#B642C1

#B642C1 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.210 H 324.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B642C1
RGBrgb(182, 66, 193)
HSLhsl(295, 51%, 51%)
HSVhsv(295, 66%, 76%)
CMYKcmyk(5.7%, 65.8%, 0%, 24.3%)
CIE-LABlab(49.12, 62.97, -44.28)
CIE-LCHlch(49.12, 76.98, 324.88°)
OKLaboklab(58.85% 0.1705 -0.1231)
OKLCHoklch(58.85% 0.21 324.2)
XYZxyz(30.8644, 17.6936, 52.2312)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642C1 #4DC142
analogous
#7642C1 #B642C1 #C1428C
triadic
#B642C1 #C1B642 #42C1B6
tetradic
#B642C1 #C17642 #4DC142 #428CC1
square
#B642C1 #C17642 #4DC142 #428CC1
split-complementary
#B642C1 #8CC142 #42C176
monochromatic
#612267 #8C3195 #B642C1 #C870D0 #DA9EDF

Accessibility & contrast

On white

4.63
#B642C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B642C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B642C1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642C1#FFFFFF#000000##FFFFFF
##B642C11.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266CC5
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#B9567C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b642c1;
/* rgb */ color: rgb(182, 66, 193);
/* oklch */ color: oklch(58.9% 0.210 324.2);
Tailwind
colors: {
  custom: {
    50: '#cf7fd4',
    500: '#b642c1',
    950: '#000000',
  },
}
SCSS
$custom: #b642c1;
$custom-light: #cf7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b642c1",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 294.803,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.21029,
    "h": 324.2
  },
  "luminance": 0.17692
}

Semantic roles & 50–950 ramp

primary
#B642C1
secondary
#98CC93
accent
#DA4E5A
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B642C1

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

Preview Lab → · Contrast checker → · Palette generator →

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