#B642CB#B642CB

#B642CB is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.219 H 321.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B642CB
RGBrgb(182, 66, 203)
HSLhsl(291, 57%, 53%)
HSVhsv(291, 67%, 80%)
CMYKcmyk(10.3%, 67.5%, 0%, 20.4%)
CIE-LABlab(49.68, 64.78, -49.16)
CIE-LCHlch(49.68, 81.32, 322.80°)
OKLaboklab(59.44% 0.1704 -0.1373)
OKLCHoklch(59.44% 0.219 321.1)
XYZxyz(32.0179, 18.1550, 58.3061)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642CB #57CB42
analogous
#7242CB #B642CB #CB429B
triadic
#B642CB #CBB642 #42CBB6
tetradic
#B642CB #CB7242 #57CB42 #429BCB
square
#B642CB #CB7242 #57CB42 #429BCB
split-complementary
#B642CB #9BCB42 #42CB72
monochromatic
#662073 #912DA3 #B642CB #C972D8 #DBA2E5

Accessibility & contrast

On white

4.54
#B642CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B642CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B642CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642CB#FFFFFF#000000##000000
##B642CB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#126ECF
Deuteranopia (green-blind)
#517AC8
Tritanopia (blue-blind)
#B75A81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b642cb;
/* rgb */ color: rgb(182, 66, 203);
/* oklch */ color: oklch(59.4% 0.219 321.1);
Tailwind
colors: {
  custom: {
    50: '#cf7fdb',
    500: '#b642cb',
    950: '#000000',
  },
}
SCSS
$custom: #b642cb;
$custom-light: #cf7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b642cb",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 290.803,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59437,
    "c": 0.21888,
    "h": 321.1
  },
  "luminance": 0.18153
}

Semantic roles & 50–950 ramp

primary
#B642CB
secondary
#A0D297
accent
#E0485F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B642CB

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

Preview Lab → · Contrast checker → · Palette generator →

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