#B642A4#B642A4

#B642A4 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.187 H 334.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B642A4
RGBrgb(182, 66, 164)
HSLhsl(309, 47%, 49%)
HSVhsv(309, 64%, 71%)
CMYKcmyk(0%, 63.7%, 9.9%, 28.6%)
CIE-LABlab(47.65, 58.08, -29.60)
CIE-LCHlch(47.65, 65.19, 332.99°)
OKLaboklab(57.31% 0.1684 -0.0807)
OKLCHoklch(57.31% 0.187 334.4)
XYZxyz(27.9406, 16.5241, 36.8326)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642A4 #42B654
analogous
#8E42B6 #B642A4 #B6426A
triadic
#B642A4 #A4B642 #42A4B6
tetradic
#B642A4 #B68E42 #42B654 #426AB6
square
#B642A4 #B68E42 #42B654 #426AB6
split-complementary
#B642A4 #6AB642 #42B68E
monochromatic
#5C2153 #89327C #B642A4 #CA6CBB #DA99D0

Accessibility & contrast

On white

4.88
#B642A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B642A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B642A4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642A4#FFFFFF#000000##FFFFFF
##B642A41.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4166A7
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#BE4A6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b642a4;
/* rgb */ color: rgb(182, 66, 164);
/* oklch */ color: oklch(57.3% 0.187 334.4);
Tailwind
colors: {
  custom: {
    50: '#cf7ebf',
    500: '#b642a4',
    950: '#000000',
  },
}
SCSS
$custom: #b642a4;
$custom-light: #cf7ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#b642a4",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 309.31,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.18675,
    "h": 334.4
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#B642A4
secondary
#8EC697
accent
#D66651
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B642A4

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

Preview Lab → · Contrast checker → · Palette generator →

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