#B642CF#B642CF

#B642CF is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.7% C 0.222 H 320.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B642CF
RGBrgb(182, 66, 207)
HSLhsl(289, 59%, 54%)
HSVhsv(289, 68%, 81%)
CMYKcmyk(12.1%, 68.1%, 0%, 18.8%)
CIE-LABlab(49.92, 65.52, -51.09)
CIE-LCHlch(49.92, 83.09, 322.05°)
OKLaboklab(59.68% 0.1703 -0.1429)
OKLCHoklch(59.68% 0.222 320)
XYZxyz(32.5007, 18.3481, 60.8490)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642CF #5BCF42
analogous
#6F42CF #B642CF #CF42A1
triadic
#B642CF #CFB642 #42CFB6
tetradic
#B642CF #CF6F42 #5BCF42 #42A1CF
square
#B642CF #CF6F42 #5BCF42 #42A1CF
split-complementary
#B642CF #A1CF42 #42CF6F
monochromatic
#681F78 #932BA9 #B642CF #C973DB #DCA4E8

Accessibility & contrast

On white

4.50
#B642CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B642CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B642CF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642CF#FFFFFF#000000##000000
##B642CF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#026FD3
Deuteranopia (green-blind)
#4E7BCC
Tritanopia (blue-blind)
#B75C84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b642cf;
/* rgb */ color: rgb(182, 66, 207);
/* oklch */ color: oklch(59.7% 0.222 320.0);
Tailwind
colors: {
  custom: {
    50: '#d080de',
    500: '#b642cf',
    950: '#000000',
  },
}
SCSS
$custom: #b642cf;
$custom-light: #d080de;
$custom-dark: #000000;
JSON
{
  "hex": "#b642cf",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 289.362,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.22235,
    "h": 320
  },
  "luminance": 0.18347
}

Semantic roles & 50–950 ramp

primary
#B642CF
secondary
#A3D598
accent
#E34561
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B642CF

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

Preview Lab → · Contrast checker → · Palette generator →

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