#B962F8#B962F8

#B962F8 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.3% C 0.221 H 308.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B962F8
RGBrgb(185, 98, 248)
HSLhsl(275, 91%, 68%)
HSVhsv(275, 60%, 97%)
CMYKcmyk(25.4%, 60.5%, 0%, 2.7%)
CIE-LABlab(57.87, 60.34, -61.43)
CIE-LCHlch(57.87, 86.11, 314.48°)
OKLaboklab(66.28% 0.1366 -0.1733)
OKLCHoklch(66.28% 0.221 308.2)
XYZxyz(41.3151, 25.8276, 91.5975)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962F8 #A1F862
analogous
#6E62F8 #B962F8 #F862EC
triadic
#B962F8 #F8B962 #62F8B9
tetradic
#B962F8 #F86E62 #A1F862 #62ECF8
square
#B962F8 #F86E62 #A1F862 #62ECF8
split-complementary
#B962F8 #ECF862 #62F86E
monochromatic
#800AD6 #9F27F5 #B962F8 #D39DFB #EDD7FD

Accessibility & contrast

On white

3.41
#B962F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B962F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962F8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962F8#FFFFFF#000000##000000
##B962F81.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A88FD
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#B080A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b962f8;
/* rgb */ color: rgb(185, 98, 248);
/* oklch */ color: oklch(66.3% 0.221 308.2);
Tailwind
colors: {
  custom: {
    50: '#d293fb',
    500: '#b962f8',
    950: '#000000',
  },
}
SCSS
$custom: #b962f8;
$custom-light: #d293fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b962f8",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 274.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66279,
    "c": 0.22071,
    "h": 308.2
  },
  "luminance": 0.25827
}

Semantic roles & 50–950 ramp

primary
#B962F8
secondary
#D7F2C4
accent
#E60060
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962F8

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

Preview Lab → · Contrast checker → · Palette generator →

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