#B962DF#B962DF

#B962DF is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.8% C 0.195 H 314.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B962DF
RGBrgb(185, 98, 223)
HSLhsl(282, 66%, 63%)
HSVhsv(282, 56%, 87%)
CMYKcmyk(17%, 56.1%, 0%, 12.5%)
CIE-LABlab(56.46, 55.00, -49.72)
CIE-LCHlch(56.46, 74.14, 317.89°)
OKLaboklab(64.8% 0.1363 -0.1391)
OKLCHoklch(64.8% 0.195 314.4)
XYZxyz(37.6924, 24.3785, 72.5177)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962DF #88DF62
analogous
#7A62DF #B962DF #DF62C6
triadic
#B962DF #DFB962 #62DFB9
tetradic
#B962DF #DF7A62 #88DF62 #62C6DF
square
#B962DF #DF7A62 #88DF62 #62C6DF
split-complementary
#B962DF #C6DF62 #62DF7A
monochromatic
#7D22A5 #A22FD5 #B962DF #D095E9 #E6C8F4

Accessibility & contrast

On white

3.57
#B962DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#B962DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962DF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962DF#FFFFFF#000000##000000
##B962DF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E3
Deuteranopia (green-blind)
#5F8ADC
Tritanopia (blue-blind)
#B67797
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b962df;
/* rgb */ color: rgb(185, 98, 223);
/* oklch */ color: oklch(64.8% 0.195 314.4);
Tailwind
colors: {
  custom: {
    50: '#d192e9',
    500: '#b962df',
    950: '#000000',
  },
}
SCSS
$custom: #b962df;
$custom-light: #d192e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b962df",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 281.76,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64798,
    "c": 0.19473,
    "h": 314.4
  },
  "luminance": 0.24377
}

Semantic roles & 50–950 ramp

primary
#B962DF
secondary
#C6E5B8
accent
#CE174F
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B962DF

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

Preview Lab → · Contrast checker → · Palette generator →

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