#B962DE#B962DE

#B962DE is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.7% C 0.194 H 314.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B962DE
RGBrgb(185, 98, 222)
HSLhsl(282, 65%, 63%)
HSVhsv(282, 56%, 87%)
CMYKcmyk(16.7%, 55.9%, 0%, 12.9%)
CIE-LABlab(56.41, 54.79, -49.24)
CIE-LCHlch(56.41, 73.67, 318.05°)
OKLaboklab(64.74% 0.1363 -0.1377)
OKLCHoklch(64.74% 0.194 314.7)
XYZxyz(37.5580, 24.3247, 71.8098)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962DE #87DE62
analogous
#7B62DE #B962DE #DE62C5
triadic
#B962DE #DEB962 #62DEB9
tetradic
#B962DE #DE7B62 #87DE62 #62C5DE
square
#B962DE #DE7B62 #87DE62 #62C5DE
split-complementary
#B962DE #C5DE62 #62DE7B
monochromatic
#7D22A3 #A22FD3 #B962DE #D095E9 #E6C7F3

Accessibility & contrast

On white

3.58
#B962DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#B962DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962DE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962DE#FFFFFF#000000##000000
##B962DE1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E2
Deuteranopia (green-blind)
#608ADB
Tritanopia (blue-blind)
#B67797
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b962de;
/* rgb */ color: rgb(185, 98, 222);
/* oklch */ color: oklch(64.7% 0.194 314.7);
Tailwind
colors: {
  custom: {
    50: '#d192e9',
    500: '#b962de',
    950: '#000000',
  },
}
SCSS
$custom: #b962de;
$custom-light: #d192e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b962de",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 282.097,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64742,
    "c": 0.1937,
    "h": 314.7
  },
  "luminance": 0.24324
}

Semantic roles & 50–950 ramp

primary
#B962DE
secondary
#C5E4B7
accent
#CD184E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B962DE

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

Preview Lab → · Contrast checker → · Palette generator →

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