#B962F4#B962F4

#B962F4 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.0% C 0.217 H 309.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B962F4
RGBrgb(185, 98, 244)
HSLhsl(276, 87%, 67%)
HSVhsv(276, 60%, 96%)
CMYKcmyk(24.2%, 59.8%, 0%, 4.3%)
CIE-LABlab(57.64, 59.47, -59.59)
CIE-LCHlch(57.64, 84.19, 314.94°)
OKLaboklab(66.03% 0.1367 -0.1679)
OKLCHoklch(66.03% 0.217 309.1)
XYZxyz(40.7012, 25.5820, 88.3641)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962F4 #9DF462
analogous
#7062F4 #B962F4 #F462E6
triadic
#B962F4 #F4B962 #62F4B9
tetradic
#B962F4 #F47062 #9DF462 #62E6F4
square
#B962F4 #F47062 #9DF462 #62E6F4
split-complementary
#B962F4 #E6F462 #62F470
monochromatic
#800ECD #9F29F0 #B962F4 #D29BF8 #ECD4FC

Accessibility & contrast

On white

3.43
#B962F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B962F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962F4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962F4#FFFFFF#000000##000000
##B962F41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387F9
Deuteranopia (green-blind)
#4E8CF1
Tritanopia (blue-blind)
#B17EA2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b962f4;
/* rgb */ color: rgb(185, 98, 244);
/* oklch */ color: oklch(66.0% 0.217 309.1);
Tailwind
colors: {
  custom: {
    50: '#d293f8',
    500: '#b962f4',
    950: '#000000',
  },
}
SCSS
$custom: #b962f4;
$custom-light: #d293f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b962f4",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 275.753,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.21654,
    "h": 309.1
  },
  "luminance": 0.25581
}

Semantic roles & 50–950 ramp

primary
#B962F4
secondary
#D4F0C2
accent
#E3025D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962F4

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

Preview Lab → · Contrast checker → · Palette generator →

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