#B642C7#B642C7

#B642C7 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.215 H 322.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B642C7
RGBrgb(182, 66, 199)
HSLhsl(292, 54%, 52%)
HSVhsv(292, 67%, 78%)
CMYKcmyk(8.5%, 66.8%, 0%, 22%)
CIE-LABlab(49.46, 64.05, -47.22)
CIE-LCHlch(49.46, 79.58, 323.60°)
OKLaboklab(59.2% 0.1705 -0.1317)
OKLCHoklch(59.2% 0.215 322.3)
XYZxyz(31.5474, 17.9668, 55.8280)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642C7 #53C742
analogous
#7442C7 #B642C7 #C74296
triadic
#B642C7 #C7B642 #42C7B6
tetradic
#B642C7 #C77442 #53C742 #4296C7
square
#B642C7 #C77442 #53C742 #4296C7
split-complementary
#B642C7 #96C742 #42C774
monochromatic
#64216E #8F2F9D #B642C7 #C871D5 #DAA0E3

Accessibility & contrast

On white

4.57
#B642C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B642C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B642C7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642C7#FFFFFF#000000##000000
##B642C71.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6DCB
Deuteranopia (green-blind)
#547AC4
Tritanopia (blue-blind)
#B8587F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b642c7;
/* rgb */ color: rgb(182, 66, 199);
/* oklch */ color: oklch(59.2% 0.215 322.3);
Tailwind
colors: {
  custom: {
    50: '#cf7fd8',
    500: '#b642c7',
    950: '#000000',
  },
}
SCSS
$custom: #b642c7;
$custom-light: #cf7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b642c7",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 292.331,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59199,
    "c": 0.21543,
    "h": 322.3
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#B642C7
secondary
#9DD095
accent
#DE4A5D
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B642C7

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

Preview Lab → · Contrast checker → · Palette generator →

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