#B962DB#B962DB

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

Color values

HEX#B962DB
RGBrgb(185, 98, 219)
HSLhsl(283, 63%, 62%)
HSVhsv(283, 55%, 86%)
CMYKcmyk(15.5%, 55.3%, 0%, 14.1%)
CIE-LABlab(56.25, 54.17, -47.80)
CIE-LCHlch(56.25, 72.25, 318.57°)
OKLaboklab(64.57% 0.1361 -0.1335)
OKLCHoklch(64.57% 0.191 315.6)
XYZxyz(37.1595, 24.1653, 69.7110)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962DB #84DB62
analogous
#7C62DB #B962DB #DB62C1
triadic
#B962DB #DBB962 #62DBB9
tetradic
#B962DB #DB7C62 #84DB62 #62C1DB
square
#B962DB #DB7C62 #84DB62 #62C1DB
split-complementary
#B962DB #C1DB62 #62DB7C
monochromatic
#7C249E #A330D0 #B962DB #CF94E6 #E5C6F2

Accessibility & contrast

On white

3.60
#B962DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#B962DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962DB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962DB#FFFFFF#000000##000000
##B962DB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#6289D8
Tritanopia (blue-blind)
#B77695
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b962db;
/* rgb */ color: rgb(185, 98, 219);
/* oklch */ color: oklch(64.6% 0.191 315.6);
Tailwind
colors: {
  custom: {
    50: '#d192e7',
    500: '#b962db',
    950: '#000000',
  },
}
SCSS
$custom: #b962db;
$custom-light: #d192e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b962db",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 283.14,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64574,
    "c": 0.19062,
    "h": 315.6
  },
  "luminance": 0.24164
}

Semantic roles & 50–950 ramp

primary
#B962DB
secondary
#C3E3B6
accent
#CA1B4C
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B962DB

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

Preview Lab → · Contrast checker → · Palette generator →

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