#B962CF#B962CF

#B962CF is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.9% C 0.178 H 319.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B962CF
RGBrgb(185, 98, 207)
HSLhsl(288, 53%, 60%)
HSVhsv(288, 53%, 81%)
CMYKcmyk(10.6%, 52.7%, 0%, 18.8%)
CIE-LABlab(55.64, 51.75, -41.97)
CIE-LCHlch(55.64, 66.63, 320.95°)
OKLaboklab(63.93% 0.1351 -0.1165)
OKLCHoklch(63.93% 0.178 319.2)
XYZxyz(35.6363, 23.5560, 61.6890)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962CF #78CF62
analogous
#8362CF #B962CF #CF62AF
triadic
#B962CF #CFB962 #62CFB9
tetradic
#B962CF #CF8362 #78CF62 #62AFCF
square
#B962CF #CF8362 #78CF62 #62AFCF
split-complementary
#B962CF #AFCF62 #62CF83
monochromatic
#782B8C #A139BB #B962CF #CE91DD #E3C0EC

Accessibility & contrast

On white

3.68
#B962CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B962CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962CF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962CF#FFFFFF#000000##000000
##B962CF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD3
Deuteranopia (green-blind)
#6988CC
Tritanopia (blue-blind)
#BA728F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b962cf;
/* rgb */ color: rgb(185, 98, 207);
/* oklch */ color: oklch(63.9% 0.178 319.2);
Tailwind
colors: {
  custom: {
    50: '#d092de',
    500: '#b962cf',
    950: '#000000',
  },
}
SCSS
$custom: #b962cf;
$custom-light: #d092de;
$custom-dark: #000000;
JSON
{
  "hex": "#b962cf",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 287.89,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63925,
    "c": 0.17842,
    "h": 319.2
  },
  "luminance": 0.23555
}

Semantic roles & 50–950 ramp

primary
#B962CF
secondary
#BADBB1
accent
#DD4B69
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B962CF

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

Preview Lab → · Contrast checker → · Palette generator →

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