#B642C5#B642C5

#B642C5 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.214 H 322.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B642C5
RGBrgb(182, 66, 197)
HSLhsl(293, 53%, 52%)
HSVhsv(293, 66%, 77%)
CMYKcmyk(7.6%, 66.5%, 0%, 22.7%)
CIE-LABlab(49.34, 63.69, -46.25)
CIE-LCHlch(49.34, 78.71, 324.02°)
OKLaboklab(59.08% 0.1705 -0.1288)
OKLCHoklch(59.08% 0.214 322.9)
XYZxyz(31.3167, 17.8745, 54.6131)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642C5 #51C542
analogous
#7542C5 #B642C5 #C54293
triadic
#B642C5 #C5B642 #42C5B6
tetradic
#B642C5 #C57542 #51C542 #4293C5
square
#B642C5 #C57542 #51C542 #4293C5
split-complementary
#B642C5 #93C542 #42C575
monochromatic
#63216C #8E2F9A #B642C5 #C871D3 #DAA0E2

Accessibility & contrast

On white

4.59
#B642C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B642C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B642C5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642C5#FFFFFF#000000##FFFFFF
##B642C51.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206DC9
Deuteranopia (green-blind)
#557AC2
Tritanopia (blue-blind)
#B9587E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b642c5;
/* rgb */ color: rgb(182, 66, 197);
/* oklch */ color: oklch(59.1% 0.214 322.9);
Tailwind
colors: {
  custom: {
    50: '#cf7fd7',
    500: '#b642c5',
    950: '#000000',
  },
}
SCSS
$custom: #b642c5;
$custom-light: #cf7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#b642c5",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 293.13,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59083,
    "c": 0.2137,
    "h": 322.9
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#B642C5
secondary
#9BCE95
accent
#DC4B5C
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B642C5

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

Preview Lab → · Contrast checker → · Palette generator →

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