#B642C2#B642C2

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

Color values

HEX#B642C2
RGBrgb(182, 66, 194)
HSLhsl(294, 51%, 51%)
HSVhsv(294, 66%, 76%)
CMYKcmyk(6.2%, 66%, 0%, 23.9%)
CIE-LABlab(49.18, 63.15, -44.77)
CIE-LCHlch(49.18, 77.41, 324.66°)
OKLaboklab(58.91% 0.1705 -0.1245)
OKLCHoklch(58.91% 0.211 323.9)
XYZxyz(30.9764, 17.7384, 52.8207)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642C2 #4EC242
analogous
#7642C2 #B642C2 #C2428E
triadic
#B642C2 #C2B642 #42C2B6
tetradic
#B642C2 #C27642 #4EC242 #428EC2
square
#B642C2 #C27642 #4EC242 #428EC2
split-complementary
#B642C2 #8EC242 #42C276
monochromatic
#612268 #8D3196 #B642C2 #C870D1 #DA9FE0

Accessibility & contrast

On white

4.62
#B642C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B642C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B642C2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642C2#FFFFFF#000000##FFFFFF
##B642C21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC6
Deuteranopia (green-blind)
#577ABF
Tritanopia (blue-blind)
#B9567D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b642c2;
/* rgb */ color: rgb(182, 66, 194);
/* oklch */ color: oklch(58.9% 0.211 323.9);
Tailwind
colors: {
  custom: {
    50: '#cf7fd5',
    500: '#b642c2',
    950: '#000000',
  },
}
SCSS
$custom: #b642c2;
$custom-light: #cf7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b642c2",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 294.375,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.21114,
    "h": 323.9
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#B642C2
secondary
#99CC94
accent
#DB4D5A
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B642C2

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

Preview Lab → · Contrast checker → · Palette generator →

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