#B962F0#B962F0

#B962F0 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.8% C 0.212 H 310.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B962F0
RGBrgb(185, 98, 240)
HSLhsl(277, 83%, 66%)
HSVhsv(277, 59%, 94%)
CMYKcmyk(22.9%, 59.2%, 0%, 5.9%)
CIE-LABlab(57.41, 58.60, -57.74)
CIE-LCHlch(57.41, 82.26, 315.43°)
OKLaboklab(65.79% 0.1367 -0.1625)
OKLCHoklch(65.79% 0.212 310.1)
XYZxyz(40.1004, 25.3417, 85.2002)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962F0 #99F062
analogous
#7262F0 #B962F0 #F062E0
triadic
#B962F0 #F0B962 #62F0B9
tetradic
#B962F0 #F07262 #99F062 #62E0F0
square
#B962F0 #F07262 #99F062 #62E0F0
split-complementary
#B962F0 #E0F062 #62F072
monochromatic
#8013C5 #A02AEB #B962F0 #D29AF5 #EBD2FB

Accessibility & contrast

On white

3.46
#B962F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B962F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962F0
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962F0#FFFFFF#000000##000000
##B962F01.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B86F5
Deuteranopia (green-blind)
#528BED
Tritanopia (blue-blind)
#B27DA0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b962f0;
/* rgb */ color: rgb(185, 98, 240);
/* oklch */ color: oklch(65.8% 0.212 310.1);
Tailwind
colors: {
  custom: {
    50: '#d193f6',
    500: '#b962f0',
    950: '#000000',
  },
}
SCSS
$custom: #b962f0;
$custom-light: #d193f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b962f0",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 276.761,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6579,
    "c": 0.21237,
    "h": 310.1
  },
  "luminance": 0.25341
}

Semantic roles & 50–950 ramp

primary
#B962F0
secondary
#D2EEC0
accent
#DF075A
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962F0

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

Preview Lab → · Contrast checker → · Palette generator →

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