#B642C8#B642C8

#B642C8 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.3% C 0.216 H 322.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B642C8
RGBrgb(182, 66, 200)
HSLhsl(292, 55%, 52%)
HSVhsv(292, 67%, 78%)
CMYKcmyk(9%, 67%, 0%, 21.6%)
CIE-LABlab(49.51, 64.23, -47.71)
CIE-LCHlch(49.51, 80.01, 323.40°)
OKLaboklab(59.26% 0.1705 -0.1331)
OKLCHoklch(59.26% 0.216 322)
XYZxyz(31.6638, 18.0133, 56.4415)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642C8 #54C842
analogous
#7342C8 #B642C8 #C84297
triadic
#B642C8 #C8B642 #42C8B6
tetradic
#B642C8 #C87342 #54C842 #4297C8
square
#B642C8 #C87342 #54C842 #4297C8
split-complementary
#B642C8 #97C842 #42C873
monochromatic
#65206F #902E9F #B642C8 #C871D6 #DBA1E4

Accessibility & contrast

On white

4.56
#B642C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B642C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B642C8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642C8#FFFFFF#000000##000000
##B642C81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCC
Deuteranopia (green-blind)
#537AC5
Tritanopia (blue-blind)
#B85980
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b642c8;
/* rgb */ color: rgb(182, 66, 200);
/* oklch */ color: oklch(59.3% 0.216 322.0);
Tailwind
colors: {
  custom: {
    50: '#cf7fd9',
    500: '#b642c8',
    950: '#000000',
  },
}
SCSS
$custom: #b642c8;
$custom-light: #cf7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b642c8",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 291.94,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59258,
    "c": 0.21629,
    "h": 322
  },
  "luminance": 0.18012
}

Semantic roles & 50–950 ramp

primary
#B642C8
secondary
#9ED096
accent
#DE4A5E
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B642C8

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

Preview Lab → · Contrast checker → · Palette generator →

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