#B642BA#B642BA

#B642BA is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.204 H 326.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B642BA
RGBrgb(182, 66, 186)
HSLhsl(298, 48%, 49%)
HSVhsv(298, 65%, 73%)
CMYKcmyk(2.2%, 64.5%, 0%, 27.1%)
CIE-LABlab(48.75, 61.74, -40.81)
CIE-LCHlch(48.75, 74.01, 326.53°)
OKLaboklab(58.46% 0.1703 -0.113)
OKLCHoklch(58.46% 0.204 326.4)
XYZxyz(30.1020, 17.3886, 48.2157)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642BA #46BA42
analogous
#7A42BA #B642BA #BA4282
triadic
#B642BA #BAB642 #42BAB6
tetradic
#B642BA #BA7A42 #46BA42 #4282BA
square
#B642BA #BA7A42 #46BA42 #4282BA
split-complementary
#B642BA #82BA42 #42BA7A
monochromatic
#5E2260 #8A328D #B642BA #C86ECB #D99BDB

Accessibility & contrast

On white

4.69
#B642BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B642BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B642BA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642BA#FFFFFF#000000##FFFFFF
##B642BA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABE
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#BB5378
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b642ba;
/* rgb */ color: rgb(182, 66, 186);
/* oklch */ color: oklch(58.5% 0.204 326.4);
Tailwind
colors: {
  custom: {
    50: '#cf7fcf',
    500: '#b642ba',
    950: '#000000',
  },
}
SCSS
$custom: #b642ba;
$custom-light: #cf7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b642ba",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 298,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58458,
    "c": 0.20439,
    "h": 326.4
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#B642BA
secondary
#92C890
accent
#D75155
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B642BA

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

Preview Lab → · Contrast checker → · Palette generator →

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