#B962DC#B962DC

#B962DC is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.6% C 0.192 H 315.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B962DC
RGBrgb(185, 98, 220)
HSLhsl(283, 64%, 62%)
HSVhsv(283, 55%, 86%)
CMYKcmyk(15.9%, 55.5%, 0%, 13.7%)
CIE-LABlab(56.31, 54.38, -48.28)
CIE-LCHlch(56.31, 72.72, 318.40°)
OKLaboklab(64.63% 0.1361 -0.1349)
OKLCHoklch(64.63% 0.192 315.3)
XYZxyz(37.2915, 24.2181, 70.4064)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962DC #85DC62
analogous
#7C62DC #B962DC #DC62C2
triadic
#B962DC #DCB962 #62DCB9
tetradic
#B962DC #DC7C62 #85DC62 #62C2DC
square
#B962DC #DC7C62 #85DC62 #62C2DC
split-complementary
#B962DC #C2DC62 #62DC7C
monochromatic
#7C24A0 #A330D1 #B962DC #CF94E7 #E6C6F2

Accessibility & contrast

On white

3.59
#B962DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B962DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962DC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962DC#FFFFFF#000000##000000
##B962DC1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#6189D9
Tritanopia (blue-blind)
#B77696
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b962dc;
/* rgb */ color: rgb(185, 98, 220);
/* oklch */ color: oklch(64.6% 0.192 315.3);
Tailwind
colors: {
  custom: {
    50: '#d192e7',
    500: '#b962dc',
    950: '#000000',
  },
}
SCSS
$custom: #b962dc;
$custom-light: #d192e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b962dc",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 282.787,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6463,
    "c": 0.19164,
    "h": 315.3
  },
  "luminance": 0.24217
}

Semantic roles & 50–950 ramp

primary
#B962DC
secondary
#C3E3B7
accent
#CB1A4D
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B962DC

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

Preview Lab → · Contrast checker → · Palette generator →

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