#B962FC#B962FC

#B962FC is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.5% C 0.225 H 307.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B962FC
RGBrgb(185, 98, 252)
HSLhsl(274, 96%, 69%)
HSVhsv(274, 61%, 99%)
CMYKcmyk(26.6%, 61.1%, 0%, 1.2%)
CIE-LABlab(58.11, 61.22, -63.27)
CIE-LCHlch(58.11, 88.03, 314.06°)
OKLaboklab(66.53% 0.1365 -0.1787)
OKLCHoklch(66.53% 0.225 307.4)
XYZxyz(41.9423, 26.0784, 94.9007)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962FC #A5FC62
analogous
#6C62FC #B962FC #FC62F2
triadic
#B962FC #FCB962 #62FCB9
tetradic
#B962FC #FC6C62 #A5FC62 #62F2FC
square
#B962FC #FC6C62 #A5FC62 #62F2FC
split-complementary
#B962FC #F2FC62 #62FC6C
monochromatic
#8004DF #9E26FB #B962FC #D49EFD #EFDAFE

Accessibility & contrast

On white

3.38
#B962FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#B962FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962FC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962FC#FFFFFF#000000##000000
##B962FC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A88FF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#AE81A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b962fc;
/* rgb */ color: rgb(185, 98, 252);
/* oklch */ color: oklch(66.5% 0.225 307.4);
Tailwind
colors: {
  custom: {
    50: '#d293fe',
    500: '#b962fc',
    950: '#000000',
  },
}
SCSS
$custom: #b962fc;
$custom-light: #d293fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b962fc",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 273.896,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66528,
    "c": 0.22489,
    "h": 307.4
  },
  "luminance": 0.26078
}

Semantic roles & 50–950 ramp

primary
#B962FC
secondary
#DAF4C6
accent
#E60064
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #B962FC

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

Preview Lab → · Contrast checker → · Palette generator →

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