#B962FB#B962FB

#B962FB is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.5% C 0.224 H 307.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B962FB
RGBrgb(185, 98, 251)
HSLhsl(274, 95%, 68%)
HSVhsv(274, 61%, 98%)
CMYKcmyk(26.3%, 61%, 0%, 1.6%)
CIE-LABlab(58.05, 61.00, -62.81)
CIE-LCHlch(58.05, 87.55, 314.16°)
OKLaboklab(66.47% 0.1366 -0.1774)
OKLCHoklch(66.47% 0.224 307.6)
XYZxyz(41.7843, 26.0152, 94.0683)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962FB #A4FB62
analogous
#6C62FB #B962FB #FB62F0
triadic
#B962FB #FBB962 #62FBB9
tetradic
#B962FB #FB6C62 #A4FB62 #62F0FB
square
#B962FB #FB6C62 #A4FB62 #62F0FB
split-complementary
#B962FB #F0FB62 #62FB6C
monochromatic
#8006DD #9E26F9 #B962FB #D49EFD #EED9FE

Accessibility & contrast

On white

3.39
#B962FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#B962FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962FB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962FB#FFFFFF#000000##000000
##B962FB1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F88FF
Deuteranopia (green-blind)
#478CF7
Tritanopia (blue-blind)
#AF81A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b962fb;
/* rgb */ color: rgb(185, 98, 251);
/* oklch */ color: oklch(66.5% 0.224 307.6);
Tailwind
colors: {
  custom: {
    50: '#d293fd',
    500: '#b962fb',
    950: '#000000',
  },
}
SCSS
$custom: #b962fb;
$custom-light: #d293fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b962fb",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 274.118,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66466,
    "c": 0.22384,
    "h": 307.6
  },
  "luminance": 0.26015
}

Semantic roles & 50–950 ramp

primary
#B962FB
secondary
#D9F3C5
accent
#E60063
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #B962FB

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

Preview Lab → · Contrast checker → · Palette generator →

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