#B962BC#B962BC

#B962BC is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.0% C 0.160 H 326.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B962BC
RGBrgb(185, 98, 188)
HSLhsl(298, 40%, 56%)
HSVhsv(298, 48%, 74%)
CMYKcmyk(1.6%, 47.9%, 0%, 26.3%)
CIE-LABlab(54.74, 48.09, -32.52)
CIE-LCHlch(54.74, 58.05, 325.93°)
OKLaboklab(62.97% 0.1325 -0.0893)
OKLCHoklch(62.97% 0.16 326)
XYZxyz(33.4517, 22.6822, 50.1833)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962BC #65BC62
analogous
#8C62BC #B962BC #BC6292
triadic
#B962BC #BCB962 #62BCB9
tetradic
#B962BC #BC8C62 #65BC62 #6292BC
square
#B962BC #BC8C62 #65BC62 #6292BC
split-complementary
#B962BC #92BC62 #62BC8C
monochromatic
#703173 #9B439E #B962BC #CC8DCE #DFB8E1

Accessibility & contrast

On white

3.79
#B962BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B962BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962BC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962BC#FFFFFF#000000##000000
##B962BC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#7287B9
Tritanopia (blue-blind)
#BD6C86
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b962bc;
/* rgb */ color: rgb(185, 98, 188);
/* oklch */ color: oklch(63.0% 0.160 326.0);
Tailwind
colors: {
  custom: {
    50: '#d092d0',
    500: '#b962bc',
    950: '#000000',
  },
}
SCSS
$custom: #b962bc;
$custom-light: #d092d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b962bc",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 298,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62969,
    "c": 0.15979,
    "h": 326
  },
  "luminance": 0.2268
}

Semantic roles & 50–950 ramp

primary
#B962BC
secondary
#ACCFAA
accent
#D0585C
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #B962BC

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

Preview Lab → · Contrast checker → · Palette generator →

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