#B642AF#B642AF

#B642AF is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.9% C 0.195 H 330.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B642AF
RGBrgb(182, 66, 175)
HSLhsl(304, 47%, 49%)
HSVhsv(304, 64%, 71%)
CMYKcmyk(0%, 63.7%, 3.8%, 28.6%)
CIE-LABlab(48.18, 59.87, -35.27)
CIE-LCHlch(48.18, 69.48, 329.50°)
OKLaboklab(57.87% 0.1696 -0.097)
OKLCHoklch(57.87% 0.195 330.2)
XYZxyz(28.9773, 16.9387, 42.2924)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642AF #42B649
analogous
#8342B6 #B642AF #B64275
triadic
#B642AF #AFB642 #42AFB6
tetradic
#B642AF #B68342 #42B649 #4275B6
square
#B642AF #B68342 #42B649 #4275B6
split-complementary
#B642AF #75B642 #42B683
monochromatic
#5C2159 #893284 #B642AF #CA6CC4 #DA99D6

Accessibility & contrast

On white

4.79
#B642AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B642AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B642AF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642AF#FFFFFF#000000##FFFFFF
##B642AF1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#BD4F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b642af;
/* rgb */ color: rgb(182, 66, 175);
/* oklch */ color: oklch(57.9% 0.195 330.2);
Tailwind
colors: {
  custom: {
    50: '#cf7fc7',
    500: '#b642af',
    950: '#000000',
  },
}
SCSS
$custom: #b642af;
$custom-light: #cf7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b642af",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 303.621,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57868,
    "c": 0.19538,
    "h": 330.2
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#B642AF
secondary
#8EC691
accent
#D65951
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B642AF

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

Preview Lab → · Contrast checker → · Palette generator →

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